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

learn more… | top users | synonyms

7
votes
5answers
6k views

How can I edit a file if there is no vi, vim, joe, etc?

Is there a way to edit a file if there are no vi, vim, joe, mcedit? In another words is there a way to edit a file using just the shell commands?
2
votes
2answers
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 sub-...
8
votes
6answers
3k views

Free tool for graphical representations of XML files [closed]

I need a tool which displays an XML file in a nice way. With "nice way" I mean a way on which I can fold and unfold all the nodes. Is there any free tool that runs on Windows Vista that does this ...
5
votes
4answers
818 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 ...
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 ...
0
votes
0answers
11 views

Dealing with a webapp that's eating whitespace

I'm filling out an application form for some funding, but the form eats whitespace - newlines are removed, and multiple spaces are reduced to one. This is the resulting PDF: It's my understanding ...
0
votes
1answer
14 views

How to navigate text by skipping entire words using the arrow keys on Windows?

In Mac OS X, Bash, and Emacs, I can navigate quickly in long text areas by pressing Alt + <arrow key direction>. Is there a Windows equivalent, perhaps a third party hack?
1
vote
1answer
25 views

Swapping multiple cases of two varying blocks of text, with MS Word find-and-replace

I have a few very long and large documents in MS Word, containing iMessaging history. I want to reorder the current format a bit, so it is more intuitive to read. Currently a sample of one document is:...
19
votes
4answers
16k views

Ctrl+Backspace inserts a small box instead of erasing

When I press Ctrl+Backspace, sometimes a small square is inserted, instead of the entire word being erased. If I copy and paste the character here, I get this: ``. But it doesn’t look quite like that ...
49
votes
5answers
10k views

How reverse selected lines order in vim?

For example, if I have four lines as follows: the first line the second line the third line the fourth line I want to reverse them to the fourth line the third line the second ...
20
votes
2answers
7k views

In Sublime Text 2, how can I indent out to a straight column with multiple cursors on a ragged edge?

Suppose I've got multiple cursors along several lines, like this: foo| barr| foobar| baz| How can I automatically push the whitespace at the end of each line out to a flat edge, like this?: foo ...
0
votes
1answer
16 views

Apply dictionarry to text file

I have dictionary that contains of approx. 100 lines word_1 transalted_word_1 ... word_n transalted_word_n I need to translate several txt files (actually these files are XML) in most automated way....
0
votes
1answer
33 views

Notepad++ wild card use with find and replace

I have a 12-digit MAC address such as 5C838F9FE398 which I need to replace with 5C83.8F9F.E398 Since I have to this for more than 200 MAC addresses I thought to use Notepad++ to save time. Is it ...
0
votes
1answer
72 views

Using grep; how do I show the Nth occurence of a pattern?

Using grep; how do I show the Nth occurence of a pattern? For instance; man sh |grep -A3 -- '-c' will return several matches. I might want to isolate the 3rd occurrence only, so that it shows: -- ...
97
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 ...
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 text/...
7
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
46 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 ...
27
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
21 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 ...
32
votes
3answers
37k 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
58 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 ...
10
votes
5answers
16k 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
59 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
32 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
31 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
112 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
490 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
174 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
66 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.
4
votes
2answers
32 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
12k 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
70 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
68 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 text:...
0
votes
3answers
95 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
3k 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
701 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 ...
22
votes
10answers
44k 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
161 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
6k 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 ...