Text editing is the process of selecting and preparing text [files].

learn more… | top users | synonyms

92
votes
4answers
11k views

How do you reuse a visual mode selection?

Often when editing code, I'll select a block in visual mode and do a search and replace over the block. After I make the changes, however, it leaves visual mode. How do you do a new find and replace ...
2
votes
1answer
3k views

How to add a new section to a numbered list in MS Word?

In Word how can I add a section into a numbered list? I have a large software requirements document that is organized using a numbered list, so I have a few paragraphs as 1, then maybe some ...
0
votes
0answers
13 views

Show columns from a tab delimited text file in notepad++ [duplicate]

there is an Question of how to select a tab delimited column in Notepad++, but I would like to see the columns, i.e. ajust the tab width so that White space is introduced in order to prevent ...
2
votes
2answers
6k views

Looking to create a batch file capable of editing a line (or word) in a text file

I have a text file (...\config.txt) containing 2 lines which looks like: Preamp: -4 dB Include: surround.txt I need to change "surround" to "headphones" in that config file. I really need to make 2 ...
6
votes
5answers
3k views

Remote edit with local editor (Linux)

I have a server I can ssh into, and I am also running Ubuntu. How do I edit this remote file using any program I have installed on my local Ubuntu, without copying it to local, editing it, and copying ...
3
votes
1answer
42 views

Editing a “Fixed Width” Text File

I had originally drafted this question in Engineering SE, but on second thought it makes a lot more sense here. I don't know if SuperUser SE just doesn't have MathJax formatting or if I don't know how ...
3
votes
1answer
1k views

Can I change the user name for Word 2013 track changes while signed in to an Office account?

I've been provided a hard copy of comments and changes to a document. My task is to add them to the electronic file. I changed the user name via Track Changes Options (pictured) to the original ...
26
votes
6answers
8k views

Substitution in text file **without** regular expressions

I need to substitute some text inside a text file with a replacement. Usually I would do something like sed -i 's/text/replacement/g' path/to/the/file The problem is that both text and replacement ...
1
vote
2answers
1k views

How to remove blank lines in .txt files

I want to change a text file's format, removing all blank lines. How can I do that? (2) 5. The function of the condenser is to: a) vapourise the liquid refrigerant b) change ...
2
votes
3answers
2k views

What's is the easiest way to append ';' to the end of lines which contain the char ':'?

I have a text file, whose content is like: body font-size: 12px color: blue td font-size: 14px ... I want to append ; to the lines which contain :, so the content will be: body ...
0
votes
0answers
16 views

Reverse caret notation from “cat -v”

cat -v prints a file to the stdout, replacing special characters with the caret notation (e.g., the end of transmission becomes ^D). I'm looking for a way to reverse the process: I have the result of ...
30
votes
3answers
35k views

Converting CSV to fixed-width in Notepad++?

Is there a way in Notepad++ to convert a comma-separated file to fixed width columns? This feature exists in UltraEdit and explained in Working with CSV files, but I am happy with my Notepad++, and I ...
0
votes
1answer
30 views

How to find wild card value and append to it

I have part of the hundreds of lines similar to : [vc_single_image image="55"] How can I change the lines so they all get appended img_size="full", resulting in [vc_single_image image="55" ...
0
votes
0answers
44 views

Windows Batch - Insert file name and spacer into contents of all text files in a directory and subdirectories

I have a directory and subdirectories of text files like this: my text What I'd like is to insert the file name (with or without the '.txt') and some spacing characters into the beginning of each ...
9
votes
5answers
15k views

Text / log editor with auto-refresh support [closed]

I'm looking for a text editor / log manager of some kind that will automatically refresh a file's contents when it changes. I have a single target log file (e.g. current.log) that is overwritten ...
1
vote
1answer
53 views

How do I find-replace text that is line-broken and indented randomly?

I have a .ICS document that I opened in Notepad. When exporting the file, the calendar system watermarked every event description with a sentence. For a placeholder, I'll use: This is a placeholder ...
0
votes
1answer
22 views

How to add quotes to a datestring notepad++ regex

I have a huge text files with date strings in the first column. For further processing, I need to have the date strings in double quotation marks: 2015-11-11 00:00:00.00,59,... Should end up like ...
0
votes
1answer
2k views

How to select a word with keyboard when the cursor is on or adjacent to the word?

It is possible to select a single word by double clicking on any part of the word. With only my keyboard, is it possible to select a word when the cursor is on or adjacent to the word?
0
votes
0answers
15 views

MText doesn't display text properly when editing

When editing an MText text in AutoCAD 2016 the text seems to block itself out in places which is infuriating when trying to edit the text. This has happened since an upgrade from 2013 to 2016 ...
1
vote
2answers
8k views

How to search and replace a string in multiple text files (within a directory) with Windows CMD? Part 2

This is in relation to this question . Unfortunately, PowerShell scripts are disabled on the system I am working on. I can't even use a simple (Get-Content). I did figure out how to do change ...
0
votes
3answers
83 views

Copy specific words from Notepad ++ or some other text editor

I have a lot of text like this in Notepad ++: User Actions Follow Online Marketing @LookSocialMedia Talk about #socialmedia, #SEO, online marketing, affiliate sales, #SMO, #PPC and much more. Join ...
0
votes
2answers
478 views

Split text file by whitespace

I have a very large text file with multiple columns of data. I.e. 1312.4123 asdkofADkofaO213 dakofasdjodas Fri Mar 2013 15:23:11 .. .. .. etc. I wish to split this text file into multiple subsets, ...
0
votes
5answers
74 views

Difference between data and text?

This might sound like a very silly question to you all and in fact it is, but, I really got myself confused figuring out exact difference between data and text. I will put my observation, suppose we ...
0
votes
0answers
11 views

Cannot export some parts of a PDF created with autoCAD to text

I have a PDF coming which someone created with AutoCAD from a .dwg. I need to export this back to .dwg (or .dxf) and I am using Inkscape (save as->dxf format). Everything is fine except that text is ...
0
votes
1answer
48 views

Using Notepad++ to view text files that also contain lower ASCII control characters

When using Notepad++ to view text files that also contain some lower ASCII control characters (such as NUL, BEL, and ACK), it shows every lower ASCII character in brackets like this: [NUL][BEL][ACK] ...
2
votes
1answer
33 views

Is it possible to start a text selection, jump to another page without moving the caret, and then end the selection range with shift-click?

Is it possible to start a text selection, jump to another page without moving the caret, and then end the selection range with shift-click? If I use the navigation pane, or the "Go to" command, the ...
3
votes
4answers
3k views

Remove lines ending with a specific format in Notepad++

I've got a simple array in Notepad++: bla.vmt" bla.vtf" bla_exponent.vtf" I want to get rid of the lines ending with .vmt and _exponent.vtf.
3
votes
2answers
24 views

LibreOffice presentation: wider text background, like html padding?

When setting a text's background in a LibreOffice presentation, it may look like this: Is there a way to increase the background size, as in making it wider? I'm trying to get an effect similar to ...
4
votes
3answers
11k views

Split a string in ksh

I am looking for a quick/easy way to split a string in ksh. It has varied number delimiters (spaces) between each item. Example: value1 value2 value3 Any suggestions/advice?
0
votes
4answers
69 views

What is a quick way to find the number of lines in a piece of copied text?

I'm not sure if this is the right forum for asking this question. But here it is. Suppose I copy some text from a webpage - Arsenal F.C. London Aston Villa F.C. Birmingham Chelsea F.C. ...
1
vote
1answer
59 views

Different structure when I copy text from PDF

When I copy and paste text from PDF, it shows different than it appears in the original. For example: In the original is "Hi my name is Victor and I am 23 years old". When I copy and paste the ...
0
votes
3answers
91 views

Is there a way to create invisible text?

I would like to create a text file (the format doesn't matter) whose text is invisible. I don't mean a hidden file. A normal file with invisible, copiable text. Or could it be displayed the way ...
6
votes
3answers
2k views

Beyond-compare wont ignore line-breaks?

I have this comparison : I want those line to be treated equal. but it showes me they are different. I already applied those settings : What am I doing wrong ?
1
vote
2answers
626 views

replace file's content between specific line numbers with another file using BASH

What is the most efficient way to replace file's content between specific line numbers with another file? Here is a sample: main.txt: a b c d e f g h i j k l new.part.txt x y z p q r s t u The ...
5
votes
3answers
795 views

Clipboard addon to remove text formatting

I was just wondering if anyone know of a Windows application that will remove formatting from any text in the clipboard? So if I copy something from Word into another document, the content is pasted ...
21
votes
10answers
41k views

Can you edit the contents of an Excel cell without having to double click it?

I have a list of about 10,000 name/addresses that I have to manually cleanse in Excel (fun!). As you can imagine, having to double click to enter almost every cell to edit it is a drag. And it's ...
1
vote
2answers
3k views

How can I insert a line break over 100 times for a given text string?

I got this very, very, very long text string that consists only of e-mail addresses. It's so long that it goes off my screen several pages to the right. It makes it impossible to read. It looks ...
2
votes
1answer
150 views

Vim: changing tabs to spaces

I know this question has been asked many times, but I'm not finding a solution to my problem in particular, mostly because I can't even really identify the problem. Here's the timeline of events: ...
8
votes
5answers
5k views

Converting tabs to spaces in many files

I have a lot of files with tabs littered throughout, and I'd like to convert them all into spaces. I know about the expand command, but unfortunately I would have to type out every single file using ...
8
votes
3answers
10k views

How to paste Excel data as fixed-width text?

If I copy data in Excel and paste it in a text file, I get tabs between cells. That's not good, I want spaces - and I want the columns to be aligned. How can I achieve this without a lot of effort ...
2
votes
1answer
86 views

Substitute large numbers of files according to style guide

I'd like to do a wholesale reformatting of our tests, and I'm cleaning up some inconsistent capitalization. I'm thinking of using awk to do this, since sed falls a little short, and since I need ...
1
vote
2answers
323 views

Efficiently stripe incoming one-word lines onto columns?

Consider a stream of one-word lines such as the stdout of $ echo foo bar baz quux xyxxy thud | tr ' ' '\n' foo bar baz quux xyxxy thud I say "one-word" to indicate there is no whitespace other than ...
7
votes
3answers
15k views

why does an Excel column formatted as number lose its leading zero when the column is formatted as text?

I have to export a spreadsheet to CSV. One of the columns is a zipcode with east coast zipcodes that have a leading zero. When I reformat that column as Text hoping to preserve the leading zero on ...
1
vote
1answer
126 views

How can I update a text frame in Scribus from a text file

I'm using Scribus for an instruction manual translated into several languages. Is there a way to update a text frame, which was already filled by "Get text..." from a plain text file, without loosing ...
0
votes
3answers
819 views

Search a text string and replace the whole line which contains it on a group of text files (Windows)

I'm looking for an automated solution than can search if a specified text string is on a line (may not be an exact match - just as long as the specified text string is contained in the line) on a ...
4
votes
1answer
9k views

Combine two files column-wise in Ubuntu?

I have two files: one is like preface Introduction chapter 1 the other is like 1 2 3 I was wondering how to column-wise combine the two files into one: preface 1 Introduction 2 chapter 1 3 ...
3
votes
1answer
1k views

Is there a way to prevent notepad from inserting new lines when using word wrap?

I remember it wasn't doing this before but now when I am writing a few paragraphs and paste it into a forum post, I notice my lines were broken into new lines where I have to merge them manually. Is ...
1
vote
1answer
27 views

Having trouble closing my circle text

I'm using Microsoft Powerpoint 2010 to make some text boxes for a slideshow. I know how to use the Transform section to make circular text shapes, but I'm having trouble making a complete circle. I'm ...
-1
votes
2answers
120 views

easiest way to change text to UPPERCASE/lowercase in windows 7

I want to change a size of letters from upper to lower case in every field where text could be typed (internet browsers or notepad, or explorer). But i don't know how it could be done instead of ...
21
votes
5answers
81k views

How can I edit Unicode text in Notepad++?

Sometimes I edit English text that includes Unicode characters. For some reason, on my PC, Notepad++ converts Unicode characters to ???'s thereby corrupting the text and losing all that data. I'm ...