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

learn more… | top users | synonyms

2
votes
3answers
116 views

Unicode text lost when saved as ansi

When i have saved a text file using a notepad with ANSI i lost all of the info since it became all question marks. Is there a way to convert it back to Unicode to retrieve the text?
0
votes
0answers
5 views

In Eclipse PDT (php), can I configure text select to exclude the $ prefix?

I've recently switched to Eclipse PDT but came from an editor where the dollar sign prefix is not selected when selecting text tokens (e.g. double-clicking a variable, ctrl+shift+arrow over a ...
0
votes
0answers
5 views

Quicksilver - Keyboard macro to select all text to right of cursor

At one point, I had this set up on another machine, but I don't have that mac anymore. I would like a global override to have cmd+shift+right arrow select all text to the right of the cursor on the ...
0
votes
1answer
31 views

What does `-n` option in sed do?

This is the man page entry for -n: -n suppress automatic printing of pattern space I notice that when not using -n for certain operations, each line is printed to stdout (and the requested ...
0
votes
1answer
70 views

Extract multiple strings between two words in a file

I have a text file made this way: hjkhkhkjhkh<start:"xxxxxxxxxxxx:"alt>asdsadasd<start:"yyyyyyyyyyyyyy:"alt>gfhfg ...
1
vote
1answer
36 views

How to delete the 3rd occurrence of a pattern in a file, and beyond

How can I find the third occurrence of a pattern in a file (Note: not in a line) and delete the line containing the pattern and n lines below that (say, 5 lines below). e.g., COVER fafjasfj isfapifj ...
0
votes
2answers
52 views

How can I use advanced text editing in Notepad ++?

I have a little question. I've saved in a text file all the folders with sub-folders and files library of my music hard-drive and I try to clean this with notepad++. I've removed the path of the ...
1
vote
1answer
47 views

Multi line find and replace

I recently moved about 30k images from Picasa to imgur . I need to replace all those links in my wordpress blog . I have exported all the posts to xml file ( it is 96mb) . I tried this powershell ...
0
votes
0answers
32 views

Can eclipse Ctrl+Left / Ctrl+Right skip the camel case and go to next full word instead?

When I hit Ctrl+Right or Ctrl+Left in Eclipse (Juno and Kepler at least), and I'm going through camel cased words, it takes me to the next capitalized part of a camelCased word so instead of going ...
-2
votes
1answer
35 views

Batch text replace

I have a text file full of links like this . Links are from different sites so they don't follow same structure http://somesite1.com/wp-content/uploads/2014/10/cats.jpg ...
1
vote
3answers
26 views

How to copy text side by side in Npp or Sublime text?

I have to 2 text files . First is A B C D Second is 1 2 3 4 How do I copy both file contents side by side like this in Notepad++ or Sublime Text . If these both don't support this then please ...
0
votes
1answer
28 views

Convert old MS-DOS text document with IBM/EPSON-codes to “modern” format like ODT/PDF/DOC/etc

I have an electronic book. Format of this book is plain text with control codes for IBM/EPSON matrix printers. How can I convert this document to "modern" format (like ODT/PDF/DOC/any other)?
0
votes
1answer
53 views

Combining MS Word “track changes” comments from multiple readers/editors

I am a writer and use MS Word (Mac 2011) for pretty much everything, and especially the Track Changes function, which allows you to add comments to the document. I have been circulating my work to ...
0
votes
0answers
11 views

How to add custom character to start/end of line on Subtitleworkshop or somewhere else?

How can I add three dots (…) at the beginning and/or end of a line (of course different lines) that doesn’t have a dot at the end and also to a line that start with lowercase? Something like if I ...
0
votes
1answer
39 views

Copying straight text from latex generated file

I'm trying to do some corrections to a PDF documented generated from latex. To do the corrections I first copy the text out of the PDF. What happens is that in the generated PDF, the words are cut ...
2
votes
3answers
35 views

Is there a way to do concatenated copying of text in os-x or linux?

Say you are copying snippets of a word document into textedit. It is a waste of time to go back and forth for each snippet when you can do it once using concatenation into a copy-queue. Is there a ...
0
votes
0answers
28 views

How to improve text quality using Ghostscript

I have a Pdf document downloaded with a size of 230MB. Well the text doesn't seem to be clear although a strain makes the document understandable. I have heard about Ghostscript but it as numerous ...
1
vote
1answer
42 views

Using a value from a file and updating it using a Linux script:

I have an automatic build script for my build server that builds Android applications. As part of this building process, I need to increment two parameters in one of the Android application files ...
0
votes
1answer
34 views

What does ctrl-opt-v do in OS X?

If you edit text on a Mac and press ctrl-opt-v, nothing appears to happen. But if you now use the arrow keys to move the cursor, you will notice that it will "stand still" at the point where you ...
1
vote
4answers
82 views

How to find and replace string data in text file

I'd like to be able to parse a text file which contains data such as: 2014-08-06 18:06:15 e:\shared\filename1.Shared orphan entry BM-100 2014-08-06 18:46:15 e:\shared\filename222.Shared orphan ...
1
vote
1answer
372 views

How to setup predictive text (autocomplete) on Mac?

Apart from native support for text shortcuts, how can I enable autocomplete on Mac, presumably Cocoa applications? I mean autocomplete from dictionary or words previously used. Something like ...
1
vote
1answer
54 views

Delimited sized columns in notepad++

I'm currently building string messages to send to an IBM server. Basically we have the definition of the fields, but when I build the message using notepad or Notepad++ sometimes I make mistakes ...
0
votes
0answers
29 views

Select text with CTRL+SHIFT+M plus one or more line of code in Sublime Text

This is the sample code: Class foo { function one() { // lines of code } function two() { // lines of code } } I know that hitting CTRL+SHIFT+M inside the curly braces of ...
1
vote
0answers
17 views

Split large OpenOffice file into smaller parts

I have an OpenOffice file with 2,000 pages and I need to break it into 50 parts with the same length. How can I do that?
0
votes
2answers
250 views

Is there any way to reverse text and *character* direction in a pure text document?

I have some text in Latin script (English transcription of Farsi) that I would like to display right-to-left in ordinary text documents (and on my iPod) – is that possible? How? Here’s an example of ...
1
vote
4answers
686 views

Randomly shuffle rows in a large text file

I have a text file of ~1GB with about 6k rows (each row is very long) and I need to randomly shuffle its rows. Is it possible? Possibly with awk?
2
votes
1answer
55 views

Can I hack Ctrl-arrow key stop points?

When I hit Ctrl-← or Ctrl-→ in a text field, the cursor jumps to the beginning or end of a word. It stops at dashes, but not periods. It stops at white space, but not brackets, colons, or ...
0
votes
2answers
157 views

Print or grep lines which start from second column

I want to print lines which start from second column (first column is white space). $ cat test.txt first second third four second five seven Output should be: second second ...
0
votes
2answers
36 views

Inserting a linebreak in lines starting with a pattern

I have a huge file that has the following format: #pair: 0 1 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 ...
1
vote
0answers
63 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
1answer
134 views

How to use Advanced Editing in Notepad++ or similar

I would like to be able to edit sections of text in the following way. I might have a section as seen below. Example. Instance=wall { VisGroups=(32) MeshFile=wall.gmt CollTarget=False ...
0
votes
0answers
40 views

Multiple files opened as a single tab?

I'm trying to have a single tab open with more than one file, such that when I run bulk replaces, searches, or other macros, and such that when I want to browse through my application, I won't have ...
0
votes
1answer
50 views

Win7 Built-in Text Editor with File Change Notify

Is there any built-in software that will allow me to view a text file but will also notify me if the text file I am editing/viewing is changed by another process? There are third-party solutions for ...
0
votes
0answers
35 views

Mess of right-to-left and left-to-right in Unicode

How good Kate editor supports right-to-left text? I see a mess of the order. Not sure whether it is a "feature" of Unicode standard or a Kate bug. http://imagebin.ca/v/1EUMnLMK27aX I don't see ...
0
votes
1answer
617 views

How to replace text strings by reading in list using sed

I'm trying to come up with a sed script to run from the shell. I need to be able to read in a list of UUIDs from an external file, which contains two columns origtexta replacementa origtextb ...
0
votes
2answers
65 views

Replace words on given line numbers

I have a file 1.txt INTEGER-d_int () INTEGER-d_int () INTEGER-d_int ( ) INTEGER-d_intClass() INTEGER-d_intClass new() and I want to replace the occurrence of d_int with d_INT on the ...
1
vote
1answer
125 views

Editing searchable .pdf OCR

My case is quite specific so I'll try to explain it quickly and precisely. I have to digitalize several old paper sheets of 230mm x 268mm (~ 9" x 27,7") folded in 4 parts; you can find a quick drawn ...
-2
votes
2answers
189 views

How can I remove a text from a PDF file? [duplicate]

I have a PDF file in which there are some text parts that I want to remove. Is it possible? How can I do this (preferable a free option)?
0
votes
0answers
22 views

Text-to-head in MS-Access text field

I have a text field (255 char) in MS-Access and I would like to insert a text-to-head command for the print modality. Now the note text in something like this: Wake-up at 7.00am. "unknown command" ...
1
vote
2answers
67 views

Is there a way to print 2 lines (if any) before and after a target or print a placeholder if not?

I'm not native english speaker so I hope to be clear. I know about grep -C 2 "TARGET" inputfile to select 2 rows before and after the row of the TARGET, but I'm not able to use it to manage my ...
4
votes
1answer
632 views

Transpose words in Sublime Text 3

In Sublime Text 2, I'm able to transpose two words by placing the cursor on the space between them and pressing Ctrl+T. However, in Sublime Text 3 (build 3059 on OS X Mavericks), I get the default OS ...
1
vote
2answers
68 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 ...
0
votes
1answer
22 views

How can I do a backwards query-replace in emacs

From the documentation of query-replace: [...] In Transient Mark mode, if the mark is active, operate on the contents of the region. Otherwise, operate from point to the end of the buffer. ...
0
votes
1answer
234 views

Arabic/Urdu text scrambled

I had created a file in notepad++, converted its encoding to Characterset->Arabic->ISO-8859-6 and copied and pasted some text in Arabic then closed the file. but when I reopened it, all the text had ...
1
vote
2answers
1k 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
1answer
145 views

How can I perform free-form, canvas-like text editing?

My 5-1/2 y.o. son is starting to use a computer and one of the things he likes to do is to type stuff into an editor. He has used TuxPaint before and is familiar with the idea of a "canvas" for ...
0
votes
2answers
6k 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.
1
vote
1answer
538 views

RoboCopy Log File Analysis

Is it possible to analyse the log text file outputted from RoboCopy and extract the lines which are defined as "New Dir" and "Extra Dir"? I would like the line from the log contain all the details ...
0
votes
1answer
88 views

Notaped++: pasting in block edit mode in Notepad++?

I can enter the block edit mode using Shift+Alt+A in Eclipse. For Notepad++ they recommend push down the Alt key then select the block you want with the mouse (without releasing the Alt key). ...
0
votes
1answer
332 views

How to replace multiple text into div tags using Notepad++?

I'm a new user of Notepad ++ and I need your help. I have several pages templates using shortcodes like this: [div] Block Text1 [/div] [div] Block Text2 [/div] I'd like to find a fast way to paste ...