A text editor is a program that allows for editing of plain text files.

learn more… | top users | synonyms (1)

1
vote
1answer
91 views

Need help to replace one tag with another

Anyone can help me on EmEditor Macro? id="131" restype="x-p" phase-name="pretrans"><source>Good morning</source><seg-source><mrk mtype="seg" ...
1
vote
1answer
234 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
55 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 ...
2
votes
4answers
772 views

Linux Text editors able to work with very, very long lines & fixed length records [closed]

I've got a fairly simple problem here: I have a piece of text which is one giant big line (~150,000 characters). No line breaks, and it's a fixed-length flat file (i.e. it was produced by a COBOL ...
0
votes
0answers
241 views

How to number subsections in Pages on Mac

I'm having an issue with Pages. I'm writing a document with several subsections. The problem is that when I'm using the style (ex: Subsection 2, Subsection 3...), I can't find how to add an index to ...
0
votes
1answer
89 views

Vim delete motions include under the cursor

If you delete backwards in vim, it doesn't delete the character under the cursor. What do you need to do to have it delete, say, back to the last space?
0
votes
1answer
747 views

How to add a prefix to every row of a particular column in a csv file via command line on linux

So basically i am trying to achieve the following.    File before editing.  column-1,   column-2,  column-3,  column-4,  column-5 Row-1-c1, ...
0
votes
1answer
336 views

How can I select text in a straight vertical column, as opposed to horizontal?

I'm trying to diff two text file logs and I'd like to remove the date/time from both files. This always appears in the same place on the left hand side of each line, as below: I was wondering is ...
0
votes
3answers
79 views

Vim Colorscheme

What do I change in vimrc to make the while and if/else/elseif in this screenshot a different color? EDIT----------------------- This is a custom colorscheme and I am wondering what I change in ...
2
votes
1answer
719 views

Vim command mode percent expansion

My typical day-to-day workflow in Vim involves having two vertical panes; production code on the left, and the tests on the right. I frequently switch languages (and test frameworks), so I like to ...
0
votes
1answer
406 views

vim editor full screen in putty

I am using putty to connect to my linux server and if I open any files with vim or vi editor the editor margins are getting limited, whereas the same full screen is coming if I open in XTERM. My ...
0
votes
2answers
33 views

Append text into a file while opened in an editor

Here is the scenario: A user creates a new file X.php let's say using nano. The user writes some content, saves the file (Stage S1) but does not exit the nano. He again make some changes and then exit ...
0
votes
2answers
259 views

Vim: How to append even lines to odd lines

I have the following lines. 1 4 2 10 3 20 4 35 5 56 ... ...(many more lines after this) And I want to change to the following in Vim. 1 4 2 10 3 20 4 35 5 56 ... ... How can I achieve this?
1
vote
1answer
175 views

Komodo Edit auto complete

I am just starting to use Komodo Edit. I have linked to a few CSS files but when I am editing an HTML file and then add a class to an element I would like the editor to guess what I am typing by ...
0
votes
1answer
104 views

Checkpoint code in text editor (like a micro version control)

When I'm editing code, I want to periodically checkpoint my code (ranging from every 10-20 minutes to a few hours). Consider it as a micro version control at local level & something that I discard ...
1
vote
1answer
106 views

Slickedit: How can I set the language of the currently open file if it has no extension?

I'm working on a file without an extension in Slickedit (over Linux). Because it has no extension, Slickedit doesn't identify what language the file is written in. Is there a way to manually define ...
0
votes
1answer
435 views

method to subtract text strings common in two files?

I have two text files, one with 100,000 strings and the other with 1,000 strings, which are already present in the larger file. I'd like to subtract those 1,000 strings, so that the larger file will ...
0
votes
1answer
26 views

Is it possible to convert a text that's in the form of a changelog from oldest-first into newest-first, using vim?

Is it possible to convert a text that's in the form of a changelog into newest-first, using vim? It's like this: version 1.0 multi_line description for 1.0 version 1.01 multi_line description ...
9
votes
1answer
3k views

Highlight all occurrences of a word in Github's Atom text editor

In Sublime Text, if you double-click a word in file, all occurrences of that word are highlighted on the page, giving at-a-glance orientation of how a variable or other text is used in the file. Is ...
0
votes
1answer
176 views

Reload minor mode in .dir-locals.el

In .dir-locals.el, I can only set variables to values, I can't call functions. However, after the following code is executed, I need to disable and then re-enable whitespace-mode: ((nil . ...
-1
votes
2answers
58 views

How to read a 51gb log file?

Well, it seems something went horrible wrong and now I do have a log file with a size larger than 51gb. Are there any (linux) tools that can read/open files of that size? I want to read the log file. ...
0
votes
1answer
212 views

Don't show tabs in Emacs whitespace mode

Normally, I use spaces for indentation, but for a specific project I'm working on the convention is tabs for indentation. So I've made a .dir-locals.el file that looks like this: ((nil . ...
0
votes
0answers
86 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 ...
-2
votes
1answer
97 views

Turn on/off HTML markup while coding?

A frequent problem I'm having when editing web pages is that HTML jargon can get in the way, when I need to focus on just the content for making corrections. Once markup is added to a piece of text, ...
0
votes
1answer
74 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 ...
2
votes
0answers
24 views

wrap for unspaced languages in emacs

Emacs has a nice wrapping mode called visual-line-mode that is pretty good at sensibly wrapping text. However, it depends almost completely on spaces, which causes the below failure in unspaced ...
5
votes
3answers
250 views

I'm using Bash in “vi mode”. What's the hotkey sequence to edit the current command line using an external editor?

In Bash's "Emacs mode" (set -o emacs), I can edit the current command line in my favorite external $EDITOR. All I have to do is press Ctrl+X then Ctrl+E. But, because I have switched to Bash's "vi ...
0
votes
1answer
404 views

Better setting of EDITOR environment variable to use Sublime Text 2 as system editor?

I want to use Sublime Text 2 for editing Git commit messages. Right now I have the following in my bash rc file: export EDITOR="sublime -nw" This works well if Sublime is already running. But if ...
1
vote
2answers
94 views

Extracting quotations from a movie / tv transcript in Notepad++

I have a transcript of a 3 hour documentary that is filled with quotes I'd like to share. The transcript is huge so going through it manually would take forever. So basically, I just want to remove ...
0
votes
1answer
136 views

EditPlus doesn't have find-file-by-name functionality?

A friend of mine has used EditPlus for over 5 years and says he never finds file by a name. Is there no such functionality in that editor? (I find this hard to believe!)
1
vote
1answer
55 views

The ed text editor and line feed

With ed can I add line feeds (\n)? I've tried: s/word/word\n/ But it it just gave me a plain "n" after word. With double backslash appeared "\n". With sed this works as expected, but with ed not. ...
0
votes
1answer
735 views

What are fast ways to switch between text styles (font, size, etc) in Microsoft Word or other word processing software?

Many times I need to switch back and forth between 2-3 different styles when writing a document. I dislike needing to manually click to change the style in the user interface and would like to use a ...
0
votes
1answer
43 views

How can I generate a large amount of standarized strings in a .txt file?

I'm in need of some large amount of strings generated in a .txt file. The format is number1:number2, number1 goes from 1030 up to 1130, number2 goes from 0 up to 15. Example: ...
0
votes
2answers
186 views

What is Sublime Text 2’s equivalent to vim’s Ctrl+P?

Sublime Text is great, but Ctrl+P (and Ctrl+N) in vim (inserting a word with same starting characters in insert mode) is such an essential feature that I just cannot live without it. Is this ...
-1
votes
1answer
58 views

VIM replacement? [closed]

What I do: PHP (Laravel 4, Yii, Drupal 7, bare) C/++ (GTK+, Qt 4/5) Ruby (+Rails) Perl (rarely, but still) Python2/3 (sometimes + Django) JavaScript (Node.JS, jQuery, Angular.JS) HTML CSS (+SASS, ...
1
vote
3answers
8k views

Simplest way to get XML node count

I have some XML files for which I want to get the count of nodes. However, I don't want to go and start coding. I have checked some XML tools like Notepadd++ XML Plugin, Cygwin xmllint, XML Notepad ...
0
votes
1answer
48 views

Using vim for creating fixed width text?

I've got text in the form xxxx yyyyy xx yyyy xxxxxxxx yyyyy x y I'd like the second set in each line to begin at the same point ie xxxx yyyyy xx yyyy xxxxxxxx yyyyy x y I ...
5
votes
2answers
7k views

Change default text editor to Sublime Text in Linux Mint

I've installed Sublime Text 3 from the .deb found here: http://www.sublimetext.com/3 Now, how to set it as the default text editor in place of gedit in Mint 16?
3
votes
1answer
1k views

vim inside tmux: throws “E388” with <C-Left> in insert mode [duplicate]

I've read that in insert mode in vim, one can use <C-Left> and <C-Right> to move by words. This works for me, but only as far as I don't run vim inside tmux terminal splitter. When inside ...
2
votes
1answer
147 views

Are there any lite text editors in console mode on Windows? [closed]

I know a few: Renowned text editor: MS-DOS Editor Vim/Vi But, MS-DOS Editor is a 16-bit software which cannot be run in Win7 (64-bit), and Vim/Vi is not lite. Are there any lite text editors in ...
1
vote
0answers
70 views

Sublime Text 3: Move caret up/down between displayed lines

With soft-wrapping enabled, 1 text line could occupy multiple displayed lines -- depending on how wide the window is. By default Up/Down arrows move carets between actual lines. I was wondering ...
0
votes
1answer
56 views

TextMate-like bundle editor for Sublime Editor

I know that Sublime Text has packages and also a package manager you can use to install additional bundles. For example, I installed the Go bundle but I'd like to extend it by adding some custom ...
1
vote
1answer
97 views

How can I hide plaintext passwords while editing a plaintext config file?

There are config files like wpa_supplicant.conf that can contain plaintext passwords. Sometimes I want to edit such files on my laptop while sitting in a public place, so it would be bad to show my ...
0
votes
2answers
135 views

Spaces in the beginning of lines in Notepad++

Is there any reason, why Notepad++ treats spaces as an average characters and thus pushes it to a new line, instead of "hiding" them at the end of line (when line-breaking mode is of course turned ...
4
votes
2answers
85 views

Flipping Parentheses

I have some text with flipped parentheses. For example, instead of (text-in-parentheses) I have )text-in-parentheses( Is there an easy way to flip all of the parentheses in the text? If so, how? ...
2
votes
2answers
1k views

Remove duplicate lines from a very large text-file [duplicate]

I have a very large text-file (> 50 GB), but most lines are duplicate, so I want to remove them. Is there any way to remove duplicates lines from a file, and handle files > 2GB? Because every method I ...
2
votes
1answer
81 views

Code Editor with Double Click Selection [closed]

Are there any free text editors that highlight text based on evaluation order tokenization order? The target language currently are C, Javascript, and HTML. But a questioned generalized to other ...
0
votes
2answers
256 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 ...
-1
votes
2answers
54 views

Tabs Within a VIM Split

I am writing a few different js files in my new favorite text editor, VIM. Coming from ST2, I miss the feature of having splits with tabs. I.e: A split contains a collection of files which can be ...
3
votes
4answers
2k views

How to columnize text with tabs (in vim or on the shell)

I have a frequent need to manually manipulate tab-delimited text for data entry and other purposes. When I do this, it helps if the text is aligned properly into columns. For example (assuming 4-space ...