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

learn more… | top users | synonyms

2
votes
3answers
501 views

How to reverse the order of multiline text sections separated by blank newlines/line breaks?

How to reverse the order of multiline text sections separated by blank newlines/line breaks... ..., with a simple command or application, preferably without programming? I don't want a sort, but a ...
0
votes
1answer
9k views

UNIX: how to merge 2 text files?

Is there a way to merge 2 text files into one (by appending the content of the second right after the first one) in Unix ?
3
votes
3answers
117 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 ...
0
votes
1answer
370 views

Replacing all white spaces with commas in a 46MB text file

How long should replacing all white spaces with commas take in my 46MB text file using a simple text editor such as textmate on Mac?
2
votes
1answer
1k 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
2answers
1k views

Detect (from autohotkey) if a text input field is focused

I want to implement a series of hotkeys using Autohotkey (mostly to improve my effectiveness), but I want them to only be active when I'm typing text, and not when I'm navigating or playing. I know ...
0
votes
1answer
1k 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?
1
vote
2answers
334 views

How can I do a batch find replace?

I'm writing a piece of software which requires the creation of a number of nearly identical blocks of code that only vary in a few locations which need to be replaced by a unique value for each ...
4
votes
2answers
4k 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
1
vote
2answers
465 views

How can I modify/edit a message in a local folder of Thunderbird?

I have migrated from Outlook to Thunderbird. In Outlook I have many folders with notes. Notes migrated to Thunderbird as messages. Now I want to edit some of the notes with additional/changed info. ...
5
votes
1answer
4k 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 ...
1
vote
1answer
185 views

Is there a XML editor similar to Inkscape built-in editor?

I have been looking for a "perfect" XML editor, and today I realized the one used in Inkscape is exactely the way I would want, because: It has multi-panel (tree, attribute-list, and value ...
1
vote
2answers
2k views

Exclude some matches with sed

I have a series of files with entries(namespaces in source code) like FW.WGS.Web.HHH.Controls, FW.WGS.Web.HHH.Email, FW.WGS.Web.HHH.Account, etc and some with entries FW.WGS.Web.Controls, ...
1
vote
1answer
425 views

Wrapping word configuration in mac

When i am using TextWrangler and double-click a word "game" in a sentence like "game.score", the word game is selected, but the both words and dot "game.score" is selected instead in some other editor ...
6
votes
4answers
2k views

How to delete each number at the beginning of a line in Notepad or Microsoft Word?

I have a list like this: 1 http:// 2 http:// 3 http:// 4 http:// 5 http:// I would like to remove 1,2,3,4,5 without doing this manually for each line. The only tool I am using is notepad in a bare ...
1
vote
4answers
1k views

When I open text documents, they immediately print?

Every time I open a text (.txt) document on my PC (Windows 7 Ultimate x64), it immediately begins printing on my default printer. What is happening and how do I turn it off?
2
votes
2answers
4k 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 ...
0
votes
1answer
701 views

Editing files on linux server from windows

I want to edit text files on Linux server from Windows, using text editor like Notepad++ or UltraEdit. I've managed to do so using WinSCP. It can edit files remotely and offers me to choose local ...
1
vote
1answer
2k views

How to convert text to decimal in openoffice calc?

I have a column which contains: € 53,28 € 1.336,0 € 69,90 € 296,50 € 899,00 € 149,90 € 697,40 and so on. I want to sum the column up, but for openoffice it is text and not a decimal. What I did: ...
4
votes
1answer
935 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 ...
3
votes
7answers
15k views

Find and Replace several several different values all at once

I have a file with multiple instances of Text_1 and Text1 and I need to replace both those strings with Text_A and TextB respectively. Currently I'm doing two Find and Replace functions on each ...
0
votes
3answers
633 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 ...
1
vote
1answer
126 views

I Need to Degarble a Text File

Here's my dilemma: I'm NaNoWriMoing in a text file backed up with Dropbox, and so I was offline for about 5 hrs and working on my novel. Unfortunately, the computer overheated/ran out of ...
2
votes
1answer
170 views

Is it possible to define a custom movement in vim?

Is it even possible? What I mean is, many vim commands can take a movement to operate on, can I define a custom movement so that I can tailor my edits to an environment? The specific command I'm ...
0
votes
5answers
307 views

Replacing text in file at certain width

Is there a program that I can use that will let me replace text at a certain width? Example: I want to replace 20-26 with 0s. From: ...
1
vote
3answers
212 views

How can I send myself an email that becomes a text file on my hard drive (or on Dropbox)?

Evernote has a very helpful feature that lets me send an email to a special address and which makes that email into a new note. I'd like to duplicate that functionality, but without being locked into ...
29
votes
4answers
6k 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 ...
1
vote
2answers
4k views

Splitting a large txt file every 100 lines and including the original header (on a Mac)

I am looking for a tool or script (Textwrangler or Terminal) that can split a larger text file every 100 lines counting from line 5 (the first 4 are header lines) and output individual .txt files ...
5
votes
1answer
1k 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 ...
31
votes
6answers
18k views

emacs: how to indent/unindent region of python code by 4 spaces?

I have a region of python code selected in emacs. What are the most efficient ways to indent and unindent every line in it by 4 spaces? Ideally I'd like something that's not context sensitive (eg. ...
0
votes
1answer
63 views

Test Editing Revert to Standard Formatting

All the time I am editing emails or text documents and I copy and paste text from another source. This changes the the current text formatting styles to that of what was copied and it is always a big ...
8
votes
5answers
3k views

How can I justify plain text in Linux?

I'm composing a plain text (.txt) document that has left-and-right justified paragraphs. I manually add spaces, breaking words with hyphens if necessary, until the lines are uniform length. To use an ...
1
vote
5answers
1k views

Disk Based Text Editor to Edit File Larger than Memory

I am using Ubuntu and looking for a good editor to edit a file that is > 4GB. I just need to put content at the end and beginning of the file. I suppose I could use something like cat "text to add" ...
0
votes
4answers
602 views

Why has no-one made a predictive keyboard driver/library? [closed]

On mobile devices we're used to our devices anticipating what we are typing and completing or correcting at least some of our mistakes, increasing text entry speed and, it is hoped, accuracy. From ...
2
votes
7answers
8k 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 ...
5
votes
3answers
670 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 ...
1
vote
3answers
92 views

Mac & Google Docs: How to Home?

I'm dying at Mac OSX 10.5.8 + Firefox finding how to go to the beginning of the line in Google Docs I was cursed with too little intelligence to use this glorified OS. Would any one please guide me ...
0
votes
3answers
128 views

how can I use the ctl+arrow windows shortcut to navigate through each word in a text at Mac?

How can I use the Ctrl + Arrow windows shortcut to navigate through a text sting on a Mac?
0
votes
1answer
44 views

Prevent breaking of specified part of paragraph

For example, we have a paragraph: Quick brown fox jumps over the lazy dog How can i prevent breaking the part "the lazy" ? I means, that this string will be incorrect in my formatting: Quick ...
1
vote
1answer
244 views

Textmate rails bundle

Normally when working inside a Ruby on Rails view file, I can hit CTRL + SHIFT + . to get open/close tags for rails like so: <%= selection %> I'm not sure how, but yesterday this ...
5
votes
5answers
2k 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 ...
0
votes
2answers
741 views

How can I make a Windows 7 allow me to edit a data file?

I am running a Windows 7 operating system. I would like to edit a data file named "hosts" that is found in the following library: c:\windows\system32\drivers\etc\hosts The OS does not allow changes, ...
4
votes
4answers
957 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 ...
2
votes
7answers
28k 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 ...
2
votes
3answers
471 views

How to rollback the edit version in VIM?

I realized I had deleted something for mistake when I typed :wq,then how can I rollback to the pre-version?Thank you!
1
vote
0answers
469 views

CKEditor configuration, prefer img tag atrributes over inline style

Looking for a way to disable a feature in CKEditor that messes with attributes height and width on my and converts them into inline styles. The version of CKEditor is 3.2 and I have access to config ...
0
votes
0answers
235 views

Preserving CDATA Editing Xml File using Microsoft Word 2003

I have an xml file that I need to edit using Microsoft Word 2003. Everything works fine but the CDATA section is lost and is converted to normal html. For example: <Description> <![CDATA[ ...
1
vote
3answers
1k views

Vim: Bind <C-Enter>

Using vim for editing latex; how can I bind C-Enter? I tried the following, which does not work: imap <C-Enter> \\<CR> and imap <C-Return> \\<CR> However, something like: ...
4
votes
2answers
549 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 ...
0
votes
2answers
3k views

Visual Studio 2010: Is it possible to force editor to use ANSI rather than UTF-8?

I am having issues with some files in automated processes, specifically with batch files and sql files. Visual Studio seems to create these as UTF-8 rather than ansi and adds some kind of special ...