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

learn more… | top users | synonyms

5
votes
2answers
10k views

How to distinguish between \r\n and \n in VIM

In VIM I can show all the hidden characters in a file via the command ":set invlist". However, end of line sequences are always displayed as $ whether it is a carriage return/line feed or just a line ...
5
votes
2answers
1k views

Free program to scan a directory of text files and replace certain strings

I need a free program that can scan all .xml files in a directory and replace a certain string occurrence.
5
votes
1answer
6k views

Is it possible to view two files simultaneously in Geany?

I tend to be a simple text editor user, but when I want IDE-like features, I've been using Geany. One thing I find bothersome about it, though, is I can see only one file at a time. Sometimes I want ...
5
votes
2answers
695 views

Text files on linux have “<97>” characters

When viewing a particular text file in vim or less on Linux or OS X, all the en dashes show up as highlighted "<97>" characters. What control-sequence do I need to type in order to substitute the ...
5
votes
2answers
1k views

Remove Byte Order Mark (BOM)

Background Run SQL files using pgsql that were edited with gVim on Windows. Problem The BOM character causes syntax errors with pgsql. I would like to edit files using gVim and, when saved, no ...
5
votes
2answers
3k views

Windows Text Editor With SCP Support and No Install

Is there a programmer's text editor (line numbers, syntax highlighting) for Windows 7 that offers Edit in Place via SCP A non-administrator instalation/runs without instalation Free is nice, ...
5
votes
1answer
478 views

Edit a file through an on-the-fly encryption stream in Unix

Okay this is a weird sort of question. I might get down-voted for being stupid here. I'd like to be able to edit an encrypted file, but without having to manually decrypt it to a location on the disk....
5
votes
1answer
4k views

Is there a difference between the tab symbols when using “Show White Space and TAB”?

I have a tab-delimited file that I have opened in Notepad++, was having trouble parsing it, so turned on View->Show Symbol->Show White Space and TAB. I noticed that there were two different types of ...
5
votes
1answer
2k views

“Overtype” mode in MS Powerpoint 2007?

is there any way to turn on the "Overtyping" feature in Powerpoint 2007 (you press the Insert key and then typing new characters replaces any existing characters to the right side of the insertion ...
4
votes
4answers
10k views

Delete blank lines from a text file

I am trying to delete all the blank lines in a text file. Is there a quick way to do this? What I have line one line two What I want line one line two I am using Notepad++, so a solution using ...
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?
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 ...
4
votes
2answers
798 views

How to perform search and replace in lots of files with Emacs at once?

I'm looking for a solution to how to perform a search and replace in all files in a directory using Emacs.
4
votes
2answers
5k views

Cygwin - how to edit a read only file?

I'm trying to edit /etc/hosts using Vi in Cygwin but it's read only. Is there a command similar to sudo? How do I edit a read-only file? Thanks
4
votes
4answers
6k views

How do I convert a column of text to upper case in Excel 2007 without creating a new column?

I know that you can use formulas and convert the data that way, but how can I convert to Upper (or Lower or proper) in place? Is there an easy way built into excel to instruct a non-superuser with?
4
votes
2answers
1k views

Split a large text file

I have a large text file grouped with separate headers that I need to split into separate files. For instance the file has headers like this: --Heading 1-- some text text --Heading 2-- more text ...
4
votes
4answers
2k views

Is there any Firefox addon to convert text to UPPERCASE or lowercase [closed]

Is there any Firefox addon to convert a bit of selected text (in text fields), to "UPPER CASE", "lower case", "Proper Case", and "Sentence case"? This is useful when writing email.
4
votes
1answer
1k views

How do I get Dash Doc App to respect indentation?

When I expand an abbreviation with Dash Doc App it starts at the cursor location in my text editor (Sublime Text), but then ignores the original placement of the cursor and the next lines begin on the ...
4
votes
2answers
126 views

Getting vi/vim syntax highlighting used by certain user

At work most web-development we do, is done in vi/vim, on a debian-server. Sometimes we have to alter some files as root, and the syntax-highlighting-model of that user (root) is absolutely awesome. ...
4
votes
4answers
88 views

Apply regex to certain occurrences

I have a large file with plain text (no html tags, etc.). What I want to do is to apply regex to whole file on the one hand but on the other I want to choose which changes will be applied. For ...
4
votes
2answers
998 views

How to Remove Columns from a Notepad++ File

I want to remove a column in the middle of a txt file in notepad++. The length of the file is approximate 50K+ lines so i prefer to not have to hold down a key while the cursor slowly makes its way ...
4
votes
4answers
1k views

VERY large text files and Snow Leopard

Sometimes I need to work on EXTREMELY large text files. 200-300 megs or more. My favorite text editor on my MacBook Pro is TextMate. However, TM chokes on very large text files. Even ones around ...
4
votes
2answers
31 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
0answers
493 views

Which command line text editor has the closest keybindings to Notepadd++, Gedit, or Kate (or any modern CUA style editor)?

I'm looking for a text editor that has an amazing common user access (CUA) mode (or can be configured to have it) that resembles closely modern editors like Notepad++, Gedit, Kate, Sublime, etc. I've ...
3
votes
7answers
14k views

How to delete all lines which contain a word with TextWrangler?

I have a giant file with thousands of lines, I want to delete only the lines which have the word "Foo" in them. How would I go about doing this? I'm on a Mac, so I could use some command line utility,...
3
votes
5answers
8k views

How to split a text file into multiple text files

I have a text file called entry.txt that contains the following: [ entry1 ] 1239 1240 1242 1391 1392 1394 1486 1487 1489 1600 1601 1603 1657 1658 1660 2075 2076 2078 2322 2323 2325 2740 2741 2743 ...
3
votes
2answers
15k views

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

I have multiple text files within a directory, each of which I want to replace every occurrence of the string 1 setlinewidth to 10 setlinewidth. How do I do this via Windows cmd? Please help.
3
votes
3answers
409 views

Write a bashscript to double every newline character in a text file?

I need a bash script that will take a file and add a second \n character for every \n character already in the file: that is: abcd\nbcda becomes abcd\n\nbcda how do I start. OR, should I ...
3
votes
2answers
1k views

How can I edit file permissions (e.g. make script files executable) from within Sublime Text 2?

When writing e.g. shell scripts, I want to change their permissions (primarily the executable permission) from within Sublime Text 2. How can I accomplish that?
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
3answers
119 views

Typing a column of numbers (1,2,3…)

I am writing a C# program containing these lines: Console.Writeline("1"); Console.Writeline("2"); [...] Console.Writeline("26"); Is there a quick way to type the 26 numbers? I'm using Visual ...
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 ...
3
votes
3answers
462 views

“Drag” selected text using the keyboard?

If I select some text in a text input field/area/window, I can drag that text to another position somewhere within the text area using the mouse. Is it possible to do this dragging using the keyboard? ...
3
votes
4answers
2k views

How to replace a list of strings by another list

I have a file which has (many) strings I'd like to replace, so I thought about using a simple command like: sed 's/string1/string2/g' file1 > out However, there are too many strings for that ...
3
votes
1answer
1k views

DokuWiki - How to show the edit buttons on section headers

In DokuWiki, is there any plugin compatible with the latest stable release (2009-02-14), that can show the edit buttons on section headers (like Wikipedia or MediaWiki) instead of showing them at the ...
3
votes
2answers
331 views

How to delete one directory level in a command argument (up to a slash) on ZSH command line?

I just switched from bash to zsh. One thing that is different and a bit annoying from me that Alt-Backspace removes the whole argument instead of just one word. I'm used to using it to remove one ...
3
votes
2answers
1k views

How to egrep the first character in second column?

Using egrep, how can I print all lines where last names start with K or k? Jennifer Cowan:548-834-2348:583 Laurel Ave., Kingsville, TX 83745:10/1/35:58900 Lesley Kirstin:408-456-1234:4 Harvard Square,...
3
votes
1answer
1k views

Is there a tool for automatically checking English grammar?

I need to run through a document and check that it contains proper English grammar. My toolset for spell-checking for words include ispell and OpenOffice, but they seem only to do spell-checking. ...
3
votes
2answers
401 views

Transpose emacs rectangles

Suppose I have this text: RUN_ RUN_ RUN_ RUN_ RUN_ and want this one: RUN_A RUN_B RUN_C RUN_D RUN_E I would like to be able to write ABCDE and somehow `transpose' it and kill-yank it as a ...
3
votes
2answers
42 views

How do I make uniq only consider the first field?

I am using FreeBSD 3.2-RELEASE If I have some sorted text, like this last output— zikla13:Oct:20:22:34 zikla13:Oct:5:00:31 zikla14:Oct:17:22:01 zikla14:Oct:12:23:35 zikla14:Oct:12:23:34 zikla14:Oct:...
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 ...
3
votes
1answer
710 views

How to do a search-and-replace in Opera for textarea context?

How do I do a search-and-replace in Opera for a textarea's context? I have a web page with html form and I need to input and edit large text in this form. Easy example: Stay on this page, scroll ...
3
votes
1answer
1k views

Is it possible to change the default text cursor orientation from vertical to horizontal?

In almost any application or Windows component, the text cursor usually appears as a vertical black line -- in Notepad, browser address bar, the Run window. Is there a setting I can tweak in the ...
3
votes
1answer
200 views

How do I convert a plaintext file to OpenOffice document, so that tabs become indents?

How do I convert (or paste) a plaintext file to OpenOffice document, so that tabs become indents? Currently, dynamically wrapped long lines which start with a tab are only indented (by that tab) ...
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
2answers
6k views

Multiline select in Notepad++

In Sublime Text, if I perform a find for an occurrence of a particular word, not only is this occurrence found, but it is also selected and has the cursor at the end of each occurrence so that pushing ...
3
votes
2answers
34 views

Breaking the line in between the code in Notepad++

I have a file with line(s) that look like this: <url><loc>URL</loc><lastmod>Date</lastmod><changefreq>Time</changefreq> I'm editing the file in Notepad++, ...
2
votes
7answers
34k views

Application to open / edit a very large CSV file (500 MB, 4 million records)? [duplicate]

Possible Duplicates: Text Editor for very big file - Windows What editor/viewer to use to inspect large text based files? I have a CSV file which has about 4 million rows and is about 500 MB ...
2
votes
3answers
1k views

Unicode text lost when saved as ANSI

When I saved a text file using a notepad with ANSI, I lost all of the information since it became all question marks. Is there a way to convert it back to Unicode to retrieve the text?
2
votes
2answers
169 views

How do I split a wrapped numeric list into several lines?

I have some text in this format all on 1 line: 1v YHWH said, Let us make man in our image, after our likeness, and God created man in his own image. 2v And God formed man from the ground, and he ...