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

learn more… | top users | synonyms

0
votes
1answer
27 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
11 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
10 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
58 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
76 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?
1
vote
1answer
37 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
73 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
35 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
47 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
64 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
1answer
23 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
31 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
31 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
234 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
61 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
73 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
73 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
14 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
59 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
269 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
44 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
20 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
128 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
467 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
122 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
2k 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
309 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
66 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
236 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 ...
0
votes
1answer
36 views

Is there a common keyboard combination to move text?

I'd like to know if it is possible to move a selection of text using the keyboard on Windows 8 Pro. In many pieces of software holding down either ctrl or alt and using the arrow keys will increase ...
0
votes
0answers
16 views

Visualizing multiple word-based changes among many text files

I've written a piece of fiction with GitHub. I'm curious to see how my writing adapted over time. Did I keep eliminating then re-adding a word? Did some lines remain unchanged? Which paragraphs ...
-1
votes
2answers
69 views

Align columns in text file

I have a file in Unix like below (test.txt): 20130912-02:29:03 BT_TBL CISCUST BT_TBL_CISCUST_003015.dat 20130912-05:00:04 BT_TBL TMVLP BT_TBL_TMVLP_001026.dat 20130912-08:26:20 D_SNODE CPR8S ...
0
votes
2answers
2k views

Removing Trailing Whitespace in .txt file

How do I remove a trailing whitespace on each line in a .txt file in following command? I created script below to remove 1st character in each line but this creates a whitespace at the end of each ...
0
votes
1answer
574 views

How to automatically detect text file charset and convert it to UTF-8

Is there any way to auto-detect character encoding of a text file and convert it to UTF-8? I'm using Windows 7.
1
vote
1answer
54 views

Vim, highlight repeated words

When writing a technical document (papers, blueprints...) it's very likely to repeat a keyword, and a lot of time is wasted in trying to replace repetitions with synonyms. A very helpful tool in this ...
1
vote
2answers
114 views

How to append a CR to end of all .txt files in a directory

Is there an easy way to do this? I'm actually combining about 500 files using copy *.txt myoutputFile.txt. The problem is, that command inserts the new/next file at the current/end position of the ...
1
vote
0answers
266 views

Select multiple non-consecutive lines of text

In Eclipse 4.2 Workbench, I'd like to select multiple lines of non-consecutive text at the same time. For example, I want to highlight and copy line 1, 4, and 10 without having to highlight, copy and ...
4
votes
1answer
188 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 ...
0
votes
2answers
79 views

Simplest way to erase and replace content of multiples text files

I'm trying to do quite a simple thing. I have 40 text files in which in need to delete everything and replace with the content of a template text-file. What is the easiest/fastest way? NB: I don't ...
14
votes
6answers
9k 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 ...
3
votes
1answer
529 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 ...
1
vote
0answers
51 views

Is there a paste-replace shortcut?

Hello all :) This is be a petty request, but it is like an itch to me right now for a specific project: There are shorcuts for copy and paste, but I often find myself moving bits of text between each ...
0
votes
1answer
174 views

Cleaning out Span tags from HTML files

I have a giant number of span tags to clean out of HTM files due to a conversion from RoboHelp to Flare. Here is an example: <span class="span_1">ANYWORD</span> A large number of the ...
1
vote
0answers
39 views

How do I disable the overselection of text in Windows 7?

Is there a way to disable the overselection of text in Windows 7? Specifically, when I double-click a word Windows will select the word, then any whitespace after it. word1 word2 word3 wordetc If I ...
0
votes
3answers
50 views

Mac-OSX Text Navigation

In the terminal I'm able to hit option+b to move back a word. In any GUI app I get an integral: ∫ I know most of the emacs motions so moving around would be a lot easier if I could use the ...
7
votes
2answers
7k views

Notepad++ inserting special Unicode characters in UTF-8

What's the best ways to enter special Unicode characters into a Notepad++ document? Do I have to rely on the operating system (Windows)? Looking for a see-and-click solution. I can bring up the ...
-1
votes
1answer
27 views

File increasing in size after deleting content

I recently cleaned up some .PHP files of mine with alot of code in them, there was alot of stuff that was not needed so I deleted those lines, in one case it was around 200 lines of code. The strange ...
-1
votes
1answer
74 views

Split lines based on the position of a character

consider this as a sample of a text file: |60.05.33.14.61| |03.22.32.23.44.20.45| |25.17.03.20.24.05.61| |60.24.40.35.14.25.16.01.03.61| How can I delete all the initial "|"characters and not the ...
4
votes
4answers
77 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 ...
0
votes
2answers
204 views

JSON formatted text file makes CPU jump to 100%

I'm editing a JSON formatted text file in Mac OS X Mountain Lion (10.8.2) on a 2.3 GHz Intel Core i7 with 8 GB of RAM. The file is approx. 3 MB large so it's not very big. Anyhow this is making both ...