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

learn more… | top users | synonyms (1)

0
votes
0answers
9 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
246 views

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

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
9 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
25 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
19 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, ...
1
vote
1answer
16 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
38 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 ...
1
vote
1answer
38 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
43 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
17 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
43 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
17 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
20 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
0answers
20 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
221 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 ...
2
votes
0answers
55 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
0answers
26 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 . ...
0
votes
0answers
17 views

WinMerge won't compare two files around 74 thousand lines

I was able to paste the first text file on the left panel, with 74013 lines. At the right side panel, there is no context menu with Paste option. Is there a way to compare those files in WinMerge? ...
-1
votes
2answers
49 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
25 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
1answer
20 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
49 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
29 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
16 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 ...
0
votes
1answer
121 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 ...
0
votes
0answers
11 views

“Document Text Embedding” feature for Unicode text editors

In Yudit text editor there is "Document Text Embedding" feature, which allows to change the default text embedding (left-to-right or right-to-left) for the entire document (and it is not saved on Save ...
0
votes
2answers
39 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
33 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!)
0
votes
1answer
24 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
0answers
28 views

Disable type hints in Docblockr blocks

Is there a chance to disable autocompletion after @ sign where in Docblockr blocks ? I am currently playing with Symfony 2 and I use annotations so when I write @ORM\ it gets converted to one of the ...
0
votes
1answer
51 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
34 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
91 views

What's Sublime Text 2's equiverlant 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 ...
0
votes
1answer
36 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
1answer
551 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
33 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 ...
0
votes
1answer
602 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
346 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 ...
0
votes
0answers
10 views

How do I work on a wiki draft with local save?

Editing a wiki article is usually done online but if I'd like to restart a browser then the draft is lost. How do I work on the draft with a local copy and ability to preview if I don't use web ...
2
votes
1answer
58 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
43 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
0answers
44 views

How to make Sublime Text highlight “$this->” for PHP?

How do I make Sublime Text highlight $this-> for PHP files?
0
votes
1answer
38 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 ...
0
votes
0answers
62 views

All Settings lost on restart of Sublime Text 2

Some strange thing is happening from last two days with my SublimeText 2. On restarting of my computer the settings are lost. Below are my configuration details: SublimeText 2: Portable Version ...
1
vote
2answers
48 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
69 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 ...
3
votes
2answers
75 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
500 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
2answers
58 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
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 ...