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

learn more… | top users | synonyms (1)

1
vote
0answers
21 views

Why are Windows editors prefixing text files with three bytes? [duplicate]

I discovered that a text file created with Notepad++ or Notepad prefixes the actual text with three bytes: They are not visible in either of these editors but the hexdump above reveals them, they ...
48
votes
5answers
9k views

How reverse selected lines order in vim?

For example, if I have four lines as follows: the first line the second line the third line the fourth line I want to reverse them to the fourth line the third line the second ...
3
votes
1answer
2k views

How can I print source code on OS X with line numbers?

I'm looking through some of Wordpress' core code and would like to print it out to review. I'm looking for a tool that defaults to a monospace font can wrap long lines possibly print line numbers ...
1
vote
3answers
65 views

Notepad++ Find and Replace Expert Suggestion

I need help with Find and Replace in Notepad++. Example: $250 'Hello 1' Take '____' $500 'Hello 2' Take '____' $1000 'Hello 3' Take '____' Imagine there are thousands of these entries going up to ...
1
vote
2answers
24 views

Notepad++ split line after given number of characters

Is there a way in notepad++, to split one line text, to text with given maximum number of characters in one line? I found only undefined line split in lines operations.
1
vote
0answers
20 views

Sublime Text 3 - Terminal/Browser view

I've been searching for a plugin for Sublime that would allow me to access a terminal or browser preview in a second column (accessable via alt+Shift+2), similar to the c9.io interface (reference)
0
votes
1answer
14 views

Apply dictionarry to text file

I have dictionary that contains of approx. 100 lines word_1 transalted_word_1 ... word_n transalted_word_n I need to translate several txt files (actually these files are XML) in most automated way....
66
votes
6answers
16k views

It's All Text for Chrome?

I'm a big fan of It's All Text for Firefox, as it's really helpful to be able to quickly open up gvim and write out code, wiki markup, etc in a powerful editor rather than trying to do edits in a ...
8
votes
4answers
9k views

Copy and paste text in midnight commander (MC) via putty in Linux

I use Midnight Commander (MC) editor over putty to edit files I want to know how to copy text from one file, close it then open another file and paste it? If it is not possible with Midnight ...
0
votes
1answer
7k views

Convert text file to ASCII, not ANSI in Sublime Text

We have a project where we need to convert weird characters generated from all kinds of file formats into ASCII due to compatibility issues. Is it possible in Sublime Text 2 to convert the encoding ...
6
votes
5answers
3k views

Use GitHub's Atom Text Editor as Default Text Editor in Windows

I think the title says it all. I downloaded Atom, which comes over as a zip file containing an executable, etc. When I right-click on a text file, source code file, etc, in Windows Explorer and select ...
0
votes
0answers
4 views

KWrite syntax-highlights plaintext file on save

I'm using KWrite in Windows. I open a .txt file in KWrite, and there's no syntax highlighting. Good, that's what I expect. But when I save the file (Ctrl+S) it suddenly becomes syntax-highlighed. ...
0
votes
0answers
25 views

How do I remove unwanted text in footer?

How could I remove (setup) text which is moving below the line of footer? I set up text field as "align above and below" (screen 2) and it doesn't work :(
94
votes
4answers
11k views

How do you reuse a visual mode selection?

Often when editing code, I'll select a block in visual mode and do a search and replace over the block. After I make the changes, however, it leaves visual mode. How do you do a new find and replace ...
8
votes
3answers
3k views

textwidth=0 and wrapwidth=0 in .vimrc.local not being respected

I have the following lines at the bottom of my .vimrc.local: set textwidth=0 set wrapmargin=0 However, whenever I open a new file, both these values are set to their defaults (72 and 2, ...
6
votes
1answer
3k views

How to know cursor position index in an editor

I'm working with an HTML file, and I need to know my cursor position index in the overall file. In Visual Studio, I can see the line number and column number in status bar. In Notepad++ too, in the ...
1
vote
1answer
267 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 ...
2
votes
3answers
138 views

Changing the font size is automatically reverted in Visual Studio 2015

Symptom: Open Tools | Options window. Select Environment | Fonts and Colors section. Change the font size for Text Editor from 10 to any other size (eg. 11) Click OK button. After a couple of ...
0
votes
0answers
13 views

Show columns from a tab delimited text file in notepad++ [duplicate]

there is an Question of how to select a tab delimited column in Notepad++, but I would like to see the columns, i.e. ajust the tab width so that White space is introduced in order to prevent text/...
7
votes
3answers
2k views

Is there a way to start vim in read only mode

I use /bin/view as it is a safe way to view text files and not have accidental changes persist once I am finished. /bin/view seams to be lack features that normal vim has. Is there a way to start vim ...
4
votes
3answers
38k views

How do I read a text file's hidden characters?

I've created a text file from an application that I developed. When I send the text file to a SYSTEM validation, they (third-party system) say that the file is invalid and that the file contains ...
9
votes
2answers
8k views

How do I do multi-line editing in Atom editor?

I've been reading all over and I can't find anything on how to do this in Atom on Windows? And by multi-line editing, I mean being able to expand your cursor across multiple-lines, and being able to ...
0
votes
3answers
5k views

Open and scroll through 42 GB text file in Mac OS X

I am running Mac OS X 10.8.4 (Mountain Lion) and I am trying to open and scroll through a 42 GB .XML file. I plan on using an XML parser to parse through it and delete parts, but first I need to know ...
-1
votes
2answers
33 views

What is this texteditor's counterpart in Windows?

I am learning CSS and want to know what the following texteditor is: Is there a counterpart for Windows? There seems to be a Sublime plugin, when you type: div.classname then perhaps press ...
3
votes
1answer
30 views

Determine if a Document is open in an Editor

Is there an approved way for to query whether a document is open an editor in Linux? For example, if a document is being edited we may want to warn that a document is open and should be saved before ...
0
votes
2answers
5k 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
1answer
15 views

How to stop Light Table stripping spaces at the end of a line?

I'm using Light Table to write a README.md file. I need to add two spaces to the end of a line of text but when I save the document, Light Table seems to remove those two spaces. How can I stop Light ...
0
votes
1answer
27 views

How to remove rectangular box around text from subline text editor

I want to remove the shitty boxes around text show in: I can't remember which package I had installed for this. Can anybody tell me how ?
8
votes
9answers
5k views

Text Editor that hilights all instances of selection for Mac

On Windows, I use Notepad++ which has the great feature of when I select a word, all instances of that word are also highlighted in the same document. I have found it very helpful for finding ...
5
votes
6answers
15k views

Editing CSV files in Ubuntu

What is a good way to edit CSV files in Ubuntu? The files look something like this: This,is,data,with,a,header 2,2,3,4,, 1,,3,,6,6 ,5,3,5,5,6 1,2,,,, 1,2,3,4,8,6 1,,9,,5,9 -1,,3,4,5,6 1,2,0,4,5,6 ...
0
votes
2answers
63 views

Add new element to all items in json file

I have json array in a file: [ { "id": 2, "title": "Mr", "name": "Harry Robinson", "company": "ResearchBch", "email": "anything", "age": 38, ...
7
votes
1answer
3k views

Search all within opened tabs with Sublime Text 2

Having Sublime Text 2 Text Editor: Is it possible to search within all the tabs that are open? How?
0
votes
0answers
22 views

Finding spaces in Atom

When I copy/paste code that uses spaces, I want to replace spaces with tabs. However, Atom seems to treat tabs as spaces or vice-versa. Whenever I try to find spaces, all the tabs get selected. Even ...
1
vote
2answers
655 views

How to get vim to retain cursor position when opening a split

When I open a vertical split in vim, it takes my current line and bumps it to the top of the buffer (scrolling the entire file up). How do I get vim to retain its current position?
0
votes
0answers
64 views

Rich text editor for linux

I need a rich text editor for Linux for note-taking. I'm aware there is this question from 2009: What is the simplest RTF editor in linux? The top answer recommends Abiword. I tried Abiword, but I ...
1
vote
1answer
249 views

How do I change the global font-size in Coda 2?

I've been looking for ages to find out how to set a global font-size in Coda 2. If I set the font-size to 30px in one document, as soon as I switch it goes back to the default font size. So basically ...
1
vote
1answer
18 views

Find and Replace Number Names with Digits

I have a long section of code that has number names, which I'd like to replace with just number symbols. What I have: PartOne PartTwo PartThree PartFour PartFive ... PartOneHundred What I want: ...
3
votes
2answers
1k views

Is there a way to fix multi-line indenting in Sublime Text 3 so that it adds the indenting characters for the first line inside the selection?

When I select several lines in Sublime Text 3 and indent them as a block (using either Tab or Ctrl + ]), it adds the new whitespace characters at the beginning of the first line outside the selection ...
2
votes
4answers
1k views

Are there any Mac text editors with a built-in terminal?

I was wondering if there exists a plain text editor that has one built-in terminal. I think Coda does it, but too much for what I'm looking 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 ...
0
votes
1answer
55 views

Using Notepad++ to view text files that also contain lower ASCII control characters

When using Notepad++ to view text files that also contain some lower ASCII control characters (such as NUL, BEL, and ACK), it shows every lower ASCII character in brackets like this: [NUL][BEL][ACK] ...
1
vote
2answers
38 views

How to minimize a text editor and still be able to type

I want to make notes while watching a video in fullscreen , I don't want to split the screens. What I want is that I should be able to type in the contents of the text editior while still viewing the ...
14
votes
4answers
8k views

Light text editor for CSV file? [closed]

Could anybody suggest a light (small, fast) text editor that can handle columnar view of csv files? save quote character to all fields, even if not 'necessary' OpenOffice Calc is bit big for my ...
32
votes
4answers
19k 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
18 views

How to allow fuzzy searching within an ignored folder, in Atom?

In my .gitignore file I have the bower_components folder in it. However I'm using my sass-smacss bower package to write my SASS (which compiles into an assets folder. At the moment I can't search to ...
1
vote
1answer
29 views

How to setup Atom to allow - as a click selection?

For example I have the variable or element my-app I want to be able to double click anywhere in that word to select it whole. At the moment if you click on the my, it will only select my, and same ...
21
votes
7answers
14k views

How can I use custom colours in the Microsoft VBA editor?

I'm working on a few projects for work using Excel and VBA, so I have no choice but to use the Microsoft Visual Basic editor. I normally wouldn't mind, but I can't figure out how to set a custom ...
5
votes
5answers
10k views

How do I remove empty lines in Notepad++ after pasting in data from Excel?

I want to clean up some data I copied from an Excel spreadsheet and wash off any formatting using Notepad++. I want to take advantage of line numbering of Notepad++ to count the number of lines I have....
5
votes
5answers
2k views

Customize text editor and terminal to use non-monospaced fonts without the horrible results?

I want to experiment with all fonts, including those that aren't mono-spaced. I understand the reason for using monospaced fonts, but frankly they don't seem legitimate to me. For instance, one ...