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

learn more… | top users | synonyms

1
vote
4answers
20k views

How do I insert line breaks into a text file - not programming, not fixed width - via find & replace

This is a different from someone else's similarly-titled question. Neither Excel nor OpenOffice allow users to specify line delimiters, so I'm trying to replace semi-colons with line breaks. How do I ...
1
vote
1answer
1k views

Changing text in current visual selection in Vim

I have some part of a line visually selected. I would like to remove all non-word characters in the selection and replace all whitespace characters with underscores. How would I go on about this?
1
vote
3answers
96 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 ...
1
vote
2answers
2k views

How to make FileZilla save to SFTP server WITHOUT a propmt?

Every time I save a file from the server, it will pop up a "File has changed" prompt, and ask me if I want to upload to server. How can I stop it from asking me? Fugu would do it automatically, and it ...
1
vote
1answer
32 views

sed, delete from MarkA up to but not include MarkB

Expression in math term, I'd like to delete a region of [MarkA,MarkB). I.e., the deletion happens right when the keyword MarkA is encountered, all the way to keyword MarkB, but not including that line ...
1
vote
1answer
128 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 ...
1
vote
1answer
122 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 ...
1
vote
1answer
403 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 ...
1
vote
3answers
208 views

Edit a very large textfile [duplicate]

Possible Duplicate: Is there a text editor for very big files? I've a 3 gigabytes big log file and I have to edit just a few rows. With Notepad++, I can't edit the file at all. Does ...
1
vote
2answers
4k views

Can you insert line breaks into a Rich Text Content Control

I have a rich text content control on a Word 2007 document which is auto-populated from a database query. The control just contains text but ideally I'd like to be able to insert a new line inside the ...
1
vote
1answer
482 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 ...
1
vote
1answer
130 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 ...
1
vote
1answer
248 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 ...
1
vote
3answers
2k 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: ...
1
vote
1answer
1k views

Automatic text replacement in Ubuntu

So, I'm looking for a software native to gnome that provides automatic text replacement. Something similar to autohotkey would be great, though I really don't care about all that extra autohotkey ...
1
vote
1answer
3k views

Is there a way to make Nano support auto-complete and auto-bracket closing?

Does anyone know if there's a way to make nano support auto-complete and auto-bracket closing?
1
vote
3answers
1k views

How to grep only selected words from a file?

I need to get a list of all the email addresses from a file. I was trying to use grep @ filename but that returns the entire line. Is there anyway I can get it to return only the email address ...
1
vote
2answers
121 views

In vim, is there a way to search for a word in a different window?

I'm working with a file where definitions, and references to those definitions are in different parts of the file. I'm looking at the file in a split window - one half looking at the definition, the ...
1
vote
2answers
737 views

Looking for a windows-based WebDAV enabled editor (for code) [closed]

I'm looking for a good editor for windows with built-in WebDAV support. I'm aware of Netdrive, Webdrive and Windows' built-in WebDAV client, but these don't work as well, because they need to emulate ...
1
vote
1answer
52 views

Different structure when I copy text from PDF

When I copy and paste text from PDF, it shows different than it appears in the original. For example: In the original is "Hi my name is Victor and I am 23 years old". When I copy and paste the ...
1
vote
1answer
159 views

Concat string with variable after a 'grep'

Here is the structure of my file: g-4.n.g.fr 10.147.243.63 g-4.n.g.fr-w1 Here is my script: #! /bin/sh ip=10.147.243.63 worker=$(grep -e $ip $1 | awk '{ print $3; }') echo "[Hostname: ]" echo ...
1
vote
1answer
53 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 ...
1
vote
1answer
263 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 ...
1
vote
1answer
2k 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
2answers
7k 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 ...
1
vote
1answer
842 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 ...
1
vote
2answers
58 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 ...
1
vote
1answer
4k 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 ...
1
vote
1answer
3k 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 ...
1
vote
2answers
390 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 ...
1
vote
3answers
213 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 ...
1
vote
1answer
286 views

Using Firefox's 'View Source' with BBEdit results in a blank file

I use Firefox for browsing and BBEdit for text editing. I want the 'View Source' command in Firefox to display the source code in BBEdit rather than in Firefox's own window. I have adjusted the ...
1
vote
1answer
105 views

Editing docbook

I need to edit a docbook resource with a decent, cross platform WYSIWYG editor, being also able to include latex style formulas, images and svg plots. Then, I need to create pdf, html and import the ...
1
vote
1answer
51 views

How do I find-replace text that is line-broken and indented randomly?

I have a .ICS document that I opened in Notepad. When exporting the file, the calendar system watermarked every event description with a sentence. For a placeholder, I'll use: This is a placeholder ...
1
vote
1answer
26 views

Having trouble closing my circle text

I'm using Microsoft Powerpoint 2010 to make some text boxes for a slideshow. I know how to use the Transform section to make circular text shapes, but I'm having trouble making a complete circle. I'm ...
1
vote
0answers
44 views

Using btrfs cow functionallity to rapidly and efficiently subset large files

[My aim is to use btrfs cow features to subset 30GB to 300GB files into several 10GB files without producing substantial i/o nor using additional disk space. i.e.: 300GB dna_original.fastq 10GB ...
1
vote
1answer
68 views

Notepad++ find and replace string or text with new string or text

I have some code several hundred lines long and I want to find each "String" and replace it with a different "String". Example below... $BR360Button.Add_Click({BR360Button}) ...
1
vote
1answer
56 views

How to replace text within two words on TextWrangler?

I have a large XML file with hundreds of thousands of lines, and I need to replace data between two words (tags, in reality). Ex.: <foo>Sample Text</foo> Where I need to replace ...
1
vote
0answers
16 views

What’s the best way of tagging bits of text for future manipulations (e.g. changing their position, their content, etc)?

Let’s say I am trying to design a personal foreign language dictionary file. The initial format of the entries is like this: • [1] [2] [3]; ...
1
vote
0answers
45 views

To compile Pandoc Table in Editor by selection

Pandoc table in Tex document based on this discussion --------------------------------------------------------------------------------- ...
1
vote
4answers
475 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
263 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 ...
1
vote
0answers
37 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?
1
vote
1answer
56 views

Single column completion?

TL;DR: Is it possible to make emacs use single-column completion? When using emacs' completion mechanisms and there are multiple possibilities, then completions are displayed in a separate window, ...
1
vote
2answers
320 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
678 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 ...
1
vote
0answers
46 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 ...
1
vote
0answers
434 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
1answer
137 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 ...
1
vote
1answer
272 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 ...