When comparing Notepad++ vs ed, the Slant community recommends Notepad++ for most people. In the question“What are the best programming text editors?” Notepad++ is ranked 15th while ed is ranked 55th. The most important reason people chose Notepad++ is:
Notepad++ has built-in support for syntax highlighting for a wide selection of programming languages.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Syntax highlighting for a wide variety of languages
Notepad++ has built-in support for syntax highlighting for a wide selection of programming languages.
Pro Light and fast
Notepad++ is a very light program that starts almost instantly. This makes it a great text editor for users that want something that will start the second they open it.
Pro Extendable via plugins
A list of hundreds of plugins is maintained.
Pro Portable
You can get a portable version of N++ and put it on a flash drive or your dropbox account and have your editor, configured the way you like, at any computer that you are on.
Pro Free under GPL
Notepad++ is licensed under GPL, which means it is free/open source software that you can use freely.
Pro Regex replace in selection, active tab, or all tabs
In Notepad++, the user can utilise regular expressions to quickly modify text across multiple files.
Pro Persistent documents, even after exiting the application
If you close Notepad++ (npp), your documents remain even if you haven't saved.
Pro User defined language syntax support
You can define your own custom syntax highlighting rules (or add support for others) .
Pro Easy to use and admin
Very easy to use and personalize.
Pro Multi-line editing
While it is disabled by default, when enabled, it is possible to edit more than one line at a time. This is helpful in many situations.
Pro Split screen
The user can open and edit files in multiple screens within the editor window.
Pro Supports Markdown
If you have the Plugin Manager installed you can search for MarkdownViewer++ and install it via that plugin.
Pro Tight control over what's displayed, within terminal window
Pro ed is the standard text editor
As the standard text editor, ed
is available on multiple systems.
Pro Consistent UI
ed
has a consistent user interface and error reportage.
Cons
Con Windows-only
While it can run in Wine, it is native only to Windows. Linux users will have to use Notepadqq instead.
Con Settings confusingly scattered
Examples: try to change the tab size or used font.
Con Annoying update notifications upon start-up
Annoying update notifications tend to pop up upon start-up after not having used the app or machine for a few days. At the same time, they can be easily turned off.
Con Outdated UI
Only the text area can be themed, and it doesn't have as many features as browser-based text areas.
Con Limited new syntax support for new languages
It may be hard to find good plugins for relatively new languages.
Con Session backups not enabled by default
Unsaved tabs will be lost when Npp crashes, unless you first enable the session backup option.
Con User defined language doesn't support triple quote strings
It also doesn't support triple hashed comments. Both styles are overridden by their single character single line version.
Con Obsolete
There's absolutely no need for ed when you have sed and ex.
Con Not a lot of features
While extremely fast and simple, Ed is simply not for programming for a long time because it lacks a lot of important features. It should be used instead for quick edits.
Con Not a persistent UI
You can only view portions of a file through search or regular expression commands. You cannot scan or scroll through a file using the available screen real-estate.
It's not too dissimilar in use to command-line tools (such as grep and sed) for editing a file. In fact, both grep and sed are based on how interaction is performed with Ed.