I am looking for a free Windows text editor with the following features:

  • Word auto-completion: I want to be able to press Ctrl+Space and have the editor auto-complete the current word based on all the other words in the current file.

  • Kill trailing spaces: The editor should automatically remove all trailing spaces. I don’t care when it does that; for example, it could do it when I save the file.

  • Column select: The ability to select a rectangular region of text (using Alt+Shift+Arrow keys), and the ability to select a thin column and insert text into multiple rows.

  • Search and replace within multiple files

Please no for-pay answers. Thanks!

link|improve this question

57% accept rate
1  
What OS are you running? – Ian C. May 16 '11 at 15:37
@Ian: Thanks! Can’t believe I forgot that! – Timwi May 16 '11 at 15:58
feedback

4 Answers

On Windows I usually turn to Notepad++ when I need a free editor with robust features. It does all the things you've asked for, including column-based selections.

link|improve this answer
Thanks, tried it, but I’m looking for an editor that can find stuff reliably. This one just says “Can’t find the text” when it’s obviously right there. – Timwi May 16 '11 at 17:14
1  
Can you give an example of the string you're trying to match? I find it's matching to be quite powerful. – Ian C. May 16 '11 at 17:22
feedback

I would suggest textmate its well worth paying for.

you can do autocomplete see the manual on that

here is a how to remove white space

if you hold the option keydown you can select a block of text

and if you have multiple files open you can press command, shift , f to do global replace

I will note that this is a mac program though, I'm sure the is a pc equivalent

link|improve this answer
1  
Not free. – Timwi May 18 '11 at 19:12
yes I'm aware but that wasn't a requirement when the original post was made – mcgrailm May 19 '11 at 15:46
feedback

Vim can do all those things, with the possible exception of "Column select", depending on what you mean exactly by "insert text into multiple rows." Vim provides for inserting text into a rectangular region, but it will not flow text within that region.

link|improve this answer
LOOOL... what an unbelievable piece of shit! Uses a console window! Cannot select text with Shift+Arrow! Cannot delete a character with the backspace key! I’m sorry I didn’t list this completely normal expected functionality as a requirement, but WTF!!! – Timwi May 18 '11 at 19:17
1  
@Timwi: You obviously didn't install it correctly or take the time to learn how to use it. First of all, Vim can run in a console window, but it can also run with a Windows GUI--you just need to run the correct program. Secondly, Shift-Arrow does select text if you use the default Windows configuration that is installed automatically. Finally, backspace does delete characters in insert mode, although you may have to set the 'backspace' option to get the exact behavior you want. I'm sorry you had problems with it, but a proper Windows installation behaves as you expect. – garyjohn May 18 '11 at 20:04
I am not looking for an editor that takes a year to learn first (and to unlearn 20 years of experience with hundreds of normal text editors). But fine, I tried the Windows version that isn’t called vim.exe now that you say it exists. Still a piece of shit. No normal shortcuts (Ctrl+O for open? No, that wuold be too normal!) Shift-arrow still doesn’t select anything. Backspace doesn’t delete a character. If I have to spend hours just making the most basic functionality normal first, I might as well just write my own normal editor from scratch. – Timwi May 19 '11 at 12:12
feedback

Give Araneae a try, I believe that it has all of the features you are looking for.

http://www.ornj.net/araneae/

link|improve this answer
1  
Not free for commercial use... :( – Timwi May 18 '11 at 19:12
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.