blog.world3.net

In search of the perfect text editor

I mainly use Notepad2 as my text editor, but it lacks a couple of useful features. In particular, there is no support for tabs and no spell checker. As with most Scintilla based editors, there is no “hard” word wrapping either (where text is wrapped to, say, column 78 with line breaks).

In my quest for the perfect text editor, I was looking for the following features:

  • White text on black background
  • Syntax highlighting
  • Tabs
  • Spell checker (preferably a smart one which ignores HTML tags, keywords etc)
  • Small and fast
  • Hard word wrapping
  • Preferably open source / free

Surprisingly, I could only find one program that met those requirements, namely Crimson Editor. Before settling on CE though, I also tried:

  • JuffEd (no white on black)
  • Metapad (no syntax highlighting)
  • Notepad++ *
  • Notetab Free (pro might be okay)
  • Programmers File Editor (pretty basic)
  • Programmers Notepad (no spell checker)
  • PSPad *
  • RJ TextEd (good but slow)
  • ConTEXT (no spell checker)
  • gEdit (pretty good, a bit large due to being a Unix port, most plug-ins don’t work on Windows)
  • jEdit (Java based, need I say more?)
  • Others I forgot about

* Notepad++ and PSPad were very close, but the spell checker is not check-as-you-type, which is a real pain because it picks up non-dictionary words like “USB”, “NEC”, “Atari” etc where as with check-as-you-type you can just ignore the red underline.

Crimson Editor is the only one which met my requirement. I had to download the latest beta from the forums though, because the last release version has a bug where the mouse wheel only scrolls two lines at a time regardless of the system setting. I like fast scrolling. Also, there is no global hard word wrapping option, but you can manually invoke a command to reformat the current paragraph to an arbitrary margin.

Syntax highlighting in CE is different to most editors, and I’m still trying to decide if it’s better or not. The program allows you set colours for several general categories of language elements such as keywords, strings, and variables. The highlighter for a given language then uses these categories to colour the text. It’s a nice way of doing things because it means you only have to set colours once and all highlighters use them, in contrast to most editors where each highlighter has to be configured independently. On the other hand, it does limit the control you have over the highlighters a bit, as for example you can’t have separate colours for numbers and text because there is no numbers option.

The status of Crimson Editor is a bit ambiguous, but the developer is still working on it and accepting patches. A replacement called Emerald Editor is in the works, which should be good if it improves on CE.

This entry was written by mojo, posted on 02/08/2009 at 14:21, filed under software, windows. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.
« New Retro Adapter prototype PCBs arrived
More BNP nonsense on BBC Have Your Say »

Post a Comment

Your email is never shared. Required fields are marked *

*
*

たとえ溺れても梦はゆめでしかない
  •  

    August 2009
    M T W T F S S
    « Jul   Sep »
     12
    3456789
    10111213141516
    17181920212223
    24252627282930
    31  
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Categories

    • audio (1)
    • avr (20)
    • BBC (1)
    • electronics (29)
    • genius (4)
    • hardware (22)
    • idiots (39)
    • Internet (21)
    • law (20)
    • microcontrollers (12)
    • networking (17)
    • politics (29)
    • privacy (19)
    • Retro Adapter (5)
    • security (17)
    • software (32)
    • Uncategorized (18)
    • windows (25)
  • Archives

    • February 2012
    • January 2012
    • December 2011
    • November 2011
    • October 2011
    • September 2011
    • July 2011
    • June 2011
    • May 2011
    • March 2011
    • January 2011
    • December 2010
    • November 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • November 2005
  • Links:

    Main site: world3.net

    Electronics: denki.world3.net

WordPress | Sandbox