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

learn more… | top users | synonyms (1)

0
votes
1answer
1k views

Installed Qt 5.3, Notepadqq still finding 5.2.1 instead?

I am running Ubuntu 14.04 LTS, 64-bit. I am trying to install Notepadqq, the port of Notepad++ from Windows to Linux. I know about Vim and Emacs but I am used to Notepad++ and I like it. I ...
0
votes
0answers
6 views

Number of terminal rows in Kermit after closing editor

I am connected to an embedded computer target through its RS232, I am using kermit in a terminal. When I use ls, less, and other command line programs, the whole vertical size of my terminal is used. ...
0
votes
0answers
29 views

Highlight other occurrences of selection regardless of word boundaries

I have match_selection turned on, so when I select a word or double-click on it, Sublime Text 3 will highlight all occurrences of it for me. How do I get this behavior for when I select part of a ...
10
votes
1answer
4k views

How can I make Sublime Text reload the file being edited?

How can I make Sublime Text (3) re-load the file currently being edited, to take into account changes having been made externally?
0
votes
0answers
13 views

How do I force FocusWriter to ignore the list of previously opened files on startup?

I made the mistake of trying to open a VeryLargeTextFile with FocusWriter - causing it to promptly crash. Now, every time I try and open up FocusWriter, it tries to open the VeryLargeTextFile, and ...
1
vote
3answers
48 views

Mac : How to open the output of a CLI command in a text editor

I read how the output of a cli command and open it up in the default text editor. I lost the link to this article/blog. I kinda remember that it was using the open command to pipe the output of a ...
2
votes
1answer
2k views

How can i increase file tab size of sublime text 3?

i just started using sublime text3 on windows 7.The font size of file tab is too small for me. Is there a way to change tab color to white? How can i increase file tab size? How can i increase file ...
2
votes
3answers
41 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
1answer
546 views

What after installing sublime lint?

I think things could have been a little more simpler if the developers wanted it.It is really annoyinng to keep searching google to make my php and javascript lint. I followed this ...
0
votes
2answers
906 views

Windows 8.1 64-bit Text Editor for Command Prompt? [closed]

I have used text editors such as -- pico, vi, Emacs, nano, et cetera. I noticed that the windows 8 64-bit Command prompt no longer uses "edit" as far as I can tell. Is there a recommended editor ...
2
votes
2answers
94 views

How do I delete all lines but the last one using unix ed editor from a bash script

I have the following bash file called "file" (the real one does something useful): ed db/seeds.rb <<EOF 1,$-1d a 123 456 . w q EOF When I run "bash file" it doesn't delete any lines. If I use ...
0
votes
2answers
43 views

ssh _from_ Linux _to_ Windows: Which editor to use on Windows machine? [closed]

We have a situation where we have a SSH-server running on a Windows host which we then use an ssh client in e.g. an xterm (or another vt100 compatible client) to connect to, and then get a DOS prompt ...
0
votes
1answer
23 views

CTRL+V does not work in Firefox

Ctrl+v is not working in FireFox 29. I have included clipboard settings in about:config, but it still is not working. Ctrl+c and Ctrl+x are both working. How can I solve this issue?
2
votes
0answers
308 views

open file from Cloud9's terminal (bash) in its IDE

What command would open a file in the default editor of Cloud9's IDE from within its own terminal bash shell? I tried xdg-open and gnome-open but those opens in emacs.
-1
votes
2answers
218 views

WIN7 CMD how to create command to open text files in selected editor

Is there a way to create a command in Windows 7 command line to open some text file in selected text editor? E.g. pspad "text file location" that will open text file in PSPad.
1
vote
1answer
79 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
97 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
44 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
508 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
107 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
61 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
339 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
90 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
68 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
353 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
212 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
23 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
152 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
110 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
65 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
63 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
367 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 ...
5
votes
1answer
915 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
111 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
55 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
108 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
57 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
80 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
57 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
19 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 ...
3
votes
3answers
146 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
307 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
2answers
68 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
77 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
48 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
366 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
40 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
125 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
52 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
2answers
4k 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 ...