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

learn more… | top users | synonyms

1
vote
0answers
197 views

Why is Word 2007 not allowing me to select or edit above text with cursor?

I have a problem selecting or editing text in Word 2007 which is above the cursor's current position. I am unable to select any text or even just click in the upper part of the document text, but I am ...
1
vote
2answers
2k views

Automatic forward-deleting

First and foremost... please forgive my somewhat approximate English. (I'm French.) Oh and my loooooong sentences too (I need lots of words for little meaning when speaking foreign languages... plus ...
2
votes
2answers
267 views

Is there any way to auto-save all my entered text in Firefox?

I love the idea that gmail and Stackoverflow record my message so when I come again to that tab or draft I can find all the text that I have typed earlier already filled in. On Internet not every ...
4
votes
2answers
731 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 ?
3
votes
4answers
887 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 ...
2
votes
5answers
161 views

Editing the same file from multiple computers

My friend and I need to view and edit the same file at the same time. We were using Google Docs, but the firewall is now blocking it. If we connected our computers with a network cable (no hub or ...
2
votes
1answer
744 views

How to select non contiguous lines of code in Notepad++?

What key enables the selection of non-consecutive lines in notepad++ ? I have some Matlab code I have edited with notepad++. I would like to select distinct (non consecutive) blocks of code in order ...
1
vote
2answers
156 views

Parsing two input files and comparing line existence

I need to take two text files and check to see if a line that exists in File A doesn't exist anywhere in File B. Each line in File A that does not exist in File B should be copied to an output log. ...
0
votes
3answers
543 views

Create a term-document matrix from files

I have a set of files from example001.txt to example100.txt. Each file contains a list of keywords from a superset (the superset is available if we want it). So example001.txt might contain apple ...
2
votes
1answer
170 views

Delete first lines from a Unicode html file

I have an HTML file that is in UTF-8 format and I want to remove the first five lines from it. I've tried using sed but it doesn't work in this case: sed "1,5d" Result.html>small2 It actually ...
2
votes
1answer
496 views

How can I edit huge RTF files produced by Windows in Linux?

I have tried LibreOffice, and Abiword on Linux Mint 13, and in both cases, on the sorts of RTF files I use (lots of font changes, language changes, color changes, underlining, etc.), the application ...
2
votes
3answers
603 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.
2
votes
0answers
282 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 ...
0
votes
6answers
4k views

Add text to the beginning of every other line in Notepad++

What I want to do is: Add <title> to the beginning of lines 1, 3, 5, etc...(hundreds of lines in a notepad++ file) Add </title> to the end of lines 1, 3, 5, etc... Then: Add ...
0
votes
1answer
445 views

Batch replace specific line #s in an xml with specific text (lines) from a 2nd xml file in Windows 7

First of, I'm not a Coder or Unix guy, I'm using notepad++ v6.18 on Win7, so I'd ask that you "dumb it down" for me please :) I've noticed that on the left side of each line within a notepad++ file ...
2
votes
1answer
408 views

Viewing Binary Files

When I open up a binary file in Vim, it displays a bunch of gibberish. One would expect it to display a bunch of 1s and 0s. Why is this?
0
votes
1answer
37 views

How to improve the hotkeys Ctrl+Left and Ctrl+Right?

I'm just wondering if anyone of you figured out a way to improve these bindings or use them together with other bindings to make go through lines of text faster/easier. namely the problem i'm facing ...
1
vote
3answers
49 views

Word adding newlines after replaced text?

For a video game, I'm making an ascii map of 1s and 0s which the program makes a 3D labyrinth out of. This is obviously not fun to edit (100x100). To make it easier, I tried setting up Word's ...
0
votes
2answers
498 views

Using sed, how to print all lines that match a certain date?

Using sed, how to print all lines where the birthdays are in November or December? Assuming input file name "datebook" as follows: Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA ...
2
votes
2answers
968 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 ...
0
votes
1answer
197 views

Reversed text in Chrome [duplicate]

Possible Duplicate: How to change the text direction on Windows? I was typing something in Chrome and all of a sudden, the text reversed. It was now typing Right-to-Left like Arabic instead ...
1
vote
1answer
2k views

How to change the text direction on Windows?

Sometimes when I'm typing, text orientation changes from LTR to RTL, but I am not able to find any shortcut to change the text direction on Windows. How can I change the text direction inside a text ...
0
votes
1answer
90 views

How can I switch vim mode quickly?

This question is not the same as In vim, how can I quickly switch between tabs?, but what I want is a bit similar to it, since we are all trying to find shortcuts when editing with vim:) Now I am in ...
2
votes
3answers
314 views

Adding text to the beginning and end of a number of files?

I have a number of files in a directory hierarchy. For each file, I'd like to add "abcdef" to the beginning, on its own line, and "ghijkl" to the end, on its own line. For example, if the files ...
3
votes
5answers
4k 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 ...
4
votes
4answers
851 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?
3
votes
2answers
968 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?
8
votes
8answers
6k views

Notepad++ - Removing the first column in a comma separated file

I have a large CSV file that I need to remove the first column of data. I cannot open it in Excel because Excel converts some of the values in the columns to scientific numbers. I am using Notepad++, ...
32
votes
3answers
9k views

How can I filter a file for lines containing a string in Sublime Text 2?

I want to filter a file I'm editing in Sublime Text 2 for lines contain a certain string, if possible including regular expressions. Consider the following file: foo bar baz qux quuux baz When ...
1
vote
1answer
1k views

Replacing timestamps in Notepad++

I have a log file with time stamps on each line such as 2012-06-26 21:31:40 Killshot: Something, Something... 2012-06-26 21:31:40 Killed [player name] 2012-06-26 21:31:40 Executing Death Sequence ...
0
votes
1answer
552 views

How can I find and replace multiple blocks of text in multiple documents all at once?

I tried searching for this everywhere but couldn't find any solution. I have 100 html pages with various text to translate. I have also the translated text ready on a word document. So what I have to ...
0
votes
1answer
739 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
353 views

How to substitute multiple lines between delimiters

Given the text example: .... text ,.. {{{python string1 = 'abcde' string2 = '12345' print(string1[[1:3]]) print(string2[[:-1]]) }}} .... text ,.. The [[ and ]] also appear outside of {{{ too. ...
2
votes
1answer
401 views

looking for an alternative to refile in orgmode for emacs

In emacs/orgmode there is something called refile. you select text, hit refile and you get a list of your outline headlines, select one and your text goes there. Can I achieve something like this in ...
1
vote
1answer
186 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 ...
2
votes
2answers
167 views

Delete until character is found

In my text editor, I would like to define a keyboard shortcut (say, CTRL-D) with "delete until character is found" functionality. For example, if the cursor is placed before the "H" of this text: ...
7
votes
3answers
8k views

Selecting range of lines in Notepad ++

How do I select specific range of lines in Notepad++ quickly? I have a text file that has over 1M of lines and I need to delete some fragments from it, but selecting lines manually just takes too much ...
-1
votes
2answers
245 views

Find and Replace using different keywords

Example. I want to find and replace using: Test1 Test2 Test3 Of course I have to input and click it 3 times in order for me to find and replace using those terms. How do I do it in one shot? Does ...
1
vote
1answer
129 views

Which editor can I use to create a nested hierarchy?

I'm using OpenOffice (don't have Microsoft Office). I'm designing an application and I want to create a hierarchy similar to what the image below shows. There can be several nested levels of ...
3
votes
3answers
222 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? ...
0
votes
1answer
129 views

Emacs c-mode can't recognize utf-8?

I need to read one C++ head file which has some Chinese and was encoded using utf-8. Emacs should recognize this encoding, but it turns out: Then, I changed it to text-mode, it works: I also ...
17
votes
3answers
5k views

Turn Off Parenthesis Matching in Sublime Text 2

I have questions about turn off parenthesis matching. Does anyone know how to turn off parenthesis matching? example: When I type a (, it will automatically add ), becomes (). It's pretty nice for ...
2
votes
2answers
318 views

trimming an XML file the dumb way

(see solution below) I have XML files which I parse with a Python script (I did not write it but it does the job perfectly). The problem is that the XML file is large (~ 1GB) and the parsing take ...
2
votes
1answer
2k views

Toggle between column selection and regular selection in Sublime Text 2

In Textmate, I can make a regular multiline selection using the keyboard and switch to column selection mode by pressing the alt (⌥) key. I have not found a similar way of doing this in Sublime Text ...
0
votes
1answer
244 views

Batch transpose a comma separated file

I'd like to reorder a file with a batch from this schema: Default Web Site;anonymousAuthentication Default Web Site;windowsAuthentication Daisy;anonymousAuthentication Daisy;windowsAuthentication ...
0
votes
3answers
110 views

Process plain text data

I've this plain text file that I need to be automatically examined and results written in another plain text file. Note that I'll use plain text and CSV interchangeably, since CSVs are plain text ...
1
vote
1answer
244 views

Change data from columns to nested list

I need to move data from this format: node 1 node 12 node 121 node 1 node 12 node 122 node 1 node 13 To this one: node 1 node 12 node 121 node 122 node 13 Is there an ...
1
vote
1answer
2k views

Search & replace with wildcards and variable length strings in Notepad++

I am trying to edit a series of strings in Notepad++ using search & replace. What I'd like to do is to search for a particular piece of HTML code, then delete a portion of it. The challenging ...
0
votes
1answer
67 views

Is there way to add Language shortcuts in Mac OS X?

On iOS, I could add a language short cut easily in settings. Like gd stands for "have a good day". Is there a way of doing that on a Mac? I don't know if this is even possible since OS X doesn't ...
2
votes
0answers
70 views

Swapping two values without using an intermediate one

In a given text file, generally speaking, if I want to swap two things, say the word apple with the word orange, and both exist in the document, then I first have to change one of them to something ...