Notepad++

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Notepad++
Notepad++ Logo.png
Notepad++ v7 on Windows 10, depicting MediaWiki 1.27.1 source code
Notepad++ v7 on Windows 10, depicting MediaWiki 1.27.1 source code
Developer(s) Don Ho
Initial release November 24, 2003; 14 years ago (2003-11-24)
Stable release 7.5.4[1] (1 January 2018; 53 days ago (2018-01-01)) [±]
Repository Edit this at Wikidata
Written in C++
Operating system Microsoft Windows
Platform IA-32, x86-64
Size 2.90 MB
Available in 84 languages
List of languages
Afrikaans, Albanian, Arabic, Aragonese, Aranese, Azerbaijani, Basque, Belarusian, Bengali, Bosnian, Brazilian portuguese, Breton, Bulgarian, Catalan, Chinese, Chinese Simplified, Corsican, Croatian, Czech, Danish, Dutch, English, Esperanto, Estonian, Extremaduran, Persian, Finnish, French, Friulian, Galician, Georgian, German, Greek, Gujarati, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Kannada, Kazakh, Korean, Kyrgyz, Latvian, Ligurian, Lithuanian, Luxembourgish, Macedonian, Malay, Marathi, Mongolian, Norwegian, Nynorsk, Occitan, Polish, Portuguese, Punjabi, Romanian, Russian, Samogitian, Sardinian, Serbian, Serbian Cyrillic, Sinhala, Slovak, Slovenian, Spanish, Spanish Castellano, Swedish, Tagalog, Tajik Cyrillic, Tamil, Tatar, Telugu, Thai, Turkish, Ukrainian, Urdu, Uyghur, Uzbek, Uzbek Cyrillic, Vietnamese, Welsh
Type Source code editor
License GNU General Public License
Website notepad-plus-plus.org

Notepad++ is a text editor and source code editor for use with Microsoft Windows. It supports tabbed editing, which allows working with multiple open files in a single window. The project's name comes from the C increment operator.

Notepad++ is distributed as free software. At first the project was hosted on SourceForge.net, from where it has been downloaded over 28 million times,[2][3] and twice won the SourceForge Community Choice Award for Best Developer Tool.[4] The project was hosted on TuxFamily (fr) from 2010 to 2015; since 2015 Notepad++ has been hosted on GitHub.[5] Notepad++ uses the Scintilla editor component.

History[edit]

Notepad++ was developed by Don Ho in September 2003.[6] The developer used JEXT (a Java-based text editor) at his company but, dissatisfied with its poor performance, he began to develop a text editor written in C++ with Scintilla.[6] He developed it in his spare time since the idea was rejected by his company.[6] Notepad++ was built as a Microsoft Windows application; the author considered, but rejected, using wxWidgets to port it to the Mac OS X and Unix platforms.[6]

Notepad++ was first released on SourceForge on 25 November 2003, as a Windows-only application. It is based on the Scintilla editor component, and is written in C++ with only Win32 API calls using only the STL to increase performance and reduce program size.[7][8]

In January 2010 the US government obliged US-based open source project hosts to deny access from Cuba, Iran, North Korea, Sudan, and Syria to comply with U.S. law.[9] As a response to what the developer felt was a violation of the free and open-source software (FOSS) philosophy, in June 2010 Notepad++ moved out of US territorial jurisdiction by releasing a version on TuxFamily, in France. Some community services of Notepad++ (Such as the forums and bug tracker) remained on Sourceforge until 2015 when Notepad++ left Sourceforge completely.[10][11][12]

In 2011 Lifehacker described Notepad++ as "The Best Programming Text Editor for Windows", stating that "if you prefer a simple, lightweight, and extensible programming plain-text editor, our first choice is the free, open-source Notepad++".[13] Lifehacker criticized its user interface, stating that "It is, in fact, fairly ugly. Luckily you can do a lot to customize its looks, and what it lacks in polish, it makes up for in functionality".[13]

In 2014 Lifehacker readers voted Notepad++ as the "Most Popular Text Editor", with 40% of the 16,294 respondents specifying it as their most-loved editor.[14] The Lifehacker team summarized the program as being "fast, flexible, feature-packed, and completely free".[14]

In 2015 Stack Overflow conducted a worldwide Developer Survey, and Notepad++ was voted as the most used text editor worldwide with 34.7% of the 26,086 respondents claiming to use it daily.[15] Stack Overflow noted that "The more things change, the more likely it is those things are written in JavaScript with NotePad++ on a Windows machine".[15] The 2016 survey had NotePad++ at 35.6%.[16]

In 2015, in response to the staff hijacking of projects hosted on Sourceforge, Notepad++ left Sourceforge completely with the forums being moved to NodeBB and the bug tracker to GitHub.[12][17]

Features[edit]

Notepad++ is a source code editor. It features syntax highlighting, code folding and limited autocompletion for programming, scripting, and markup languages, but not intelligent code completion or syntax checking. As such it may properly highlight code written in a supported schema but whether the syntax is internally sound or compilable cannot be verified.[15][18][19][7] As of version 4.7.2, Notepad++ can highlight the syntactic elements of:

The language list also displays two special-case items for ordinary plain text: "Normal text" (default) or "MS-DOS Style", which tries to emulate DOS-era text editors.

Notepad++ has features for consuming and creating cross-platform plain text files. It recognizes three newline representations (CR, CR+LF and LF) and can convert between them on the fly. In addition, it supports reinterpreting plain text files in various character encodings and can convert them to ASCII, UTF-8 or UCS-2. As such, it can fix plain text that seem gibberish only because their character encoding is not properly detected.

Notepad++ also has features that improve plain text editing experience in general, such as:

Plugins[edit]

Notepad++ has support for macros and plugins,[22] and has been marked for its robust plugin architecture which enabled various new features to be integrated into the program.[23] Currently, over 140 compatible plugins are developed for Notepad++, 10 of which are included by default in the program.[24] The first plugin to be included in the program was "TextFX", which includes W3C validation for HTML and CSS, text sorting, character case alteration and quote handling.[25]

Internationalization[edit]

Notepad++ supports internationalization through XML files in an application specific format containing all internationalized strings (dialog captions, menu titles and items, etc.) in a certain language; this file can be reloaded from the application settings. Translations to new languages can thus be written by simply editing an existing file.

Easter eggs[edit]

If F1 is pressed or the About dialog is opened while the currently selected text contains a name, a new document is created and a quote from that person is entered using simulated typing.[26] Among the names that trigger this easter egg are Bill Gates, Linus Torvalds, Brian Kernighan, and Darth Vader. Selecting the text 'random' selects a random quote.[27][28]

Controversy[edit]

In March 2008 the "Boycott Beijing 2008" banner was placed on Notepad++'s SourceForge.net homepage.[29] A few months later most users in China were unable to reach the SourceForge.net website from June 26 to July 24, 2008. This led to the widespread belief that China had banned SourceForge.net in retaliation for the Boycott banner.[30][31][32]

In January 2015 the Notepad++ website was hacked by hackers from the Fallaga Team who objected to an easter egg endorsing Je suis Charlie.[33] The Fallaga Team has been linked to ISIL and is also believed to be responsible for the 2017 hacking of websites of the British National Health Service.[34]

See also[edit]

References[edit]

  1. ^ "Notepad++ 7.5.4 released". Notepad++. 2018-01-01. Retrieved 2018-01-05. 
  2. ^ "SourceForge.net: Project Statistics for Notepad++". SourceForge.net. Retrieved 2014-04-02. 
  3. ^ "Top Downloads - For all time, updated daily". SourceForge. Retrieved 2011-04-18. 
  4. ^ "SourceForge's 4th Annual Community Choice Awards". SourceForge. Retrieved 2009-10-01. 
  5. ^ "Notepad++ on GitHub". notepad-plus-plus.org. Retrieved 2016-06-02. 
  6. ^ a b c d Orin, Andy (2015-06-18). "Behind The App: The Story Of Notepad++". Lifehacker Australia. 
  7. ^ a b "Notepad++ Features". notepad-plus-plus.org. 
  8. ^ Gael, Arianna (2015-06-24). "Notepad++ Is Changing Code And Changing The World". Filehippo. 
  9. ^ "Clarifying SourceForge.net's denial of site access for certain persons in accordance with US law". SourceForge.net. Slashdot Media. 25 January 2010. 
  10. ^ "Notepad++ hosted on new website". Notepad++. 2010-06-06. 
  11. ^ "Notepad++ 5.7 released on French servers". Notepad++. 2010-07-05. 
  12. ^ a b "Notepad++ leaves SourceForge". notepad-plus-plus.org. Retrieved 2016-06-02. 
  13. ^ a b Pash, Adam (2011-07-06). "The Best Programming Text Editor for Windows". Lifehacker. 
  14. ^ a b Henry, Alan (2014-04-24). "Most Popular Text Editor: Notepad++". Lifehacker. 
  15. ^ a b c "Stack Overflow Developer Survey 2015". 
  16. ^ "Stack Overflow Developer Survey 2016 Results". 18 March 2016. Archived from the original on 18 March 2016. 
  17. ^ "Notepad++ Community". notepad-plus-plus.org. Retrieved 2016-06-02. 
  18. ^ "User Defined Language Files". notepad-plus-plus.org. 
  19. ^ DeCarlo, Matthew (2009-05-26). "Download of the Week: Notepad++". TechSpot. Retrieved 2009-10-01. 
  20. ^ "Notepad++ Multi-editing". 
  21. ^ Fox, Geoff (July 7, 2008). "Notepad++ Does It Again Again". AppScout. Ziff Davis Media. Retrieved 2009-10-01. 
  22. ^ Smith, Tim (September 21, 2009). "Notepad++ 5.5". Computeractive. Archived from the original on July 19, 2009. Retrieved 2009-10-01. 
  23. ^ Mombrea, Matthew (2013-11-15). "Tools we love: Notepad++". ITWorld Magazine. 
  24. ^ "Notepad++". sourceforge.net. 
  25. ^ "TextFX's_Future". SourceForge. 
  26. ^ Code inspection:NppCommands.cpp:2111..2140 - May 1, 2014 version
  27. ^ Code inspection: Notepad_plus.cpp:5244..5442
  28. ^ Source Code on GitHub, Notepad_plus.cpp:5499...5705 - Jun 24, 2015 version (Complete list of triggers)
  29. ^ "Archived copy". Archived from the original on March 26, 2008. Retrieved October 20, 2011. 
  30. ^ SourceForge Blocked In China. Moonlight Blog. June 26, 2008.
  31. ^ SourceForge Unblocked in China. Moonlight Blog. July 24, 2008.
  32. ^ "Sourceforge.net was blocked in China". GameDev.net. 
  33. ^ Kovacs, Eduard (15 January 2015). "Notepad++ Site Hacked in Response to "Je suis Charlie" Edition". SecurityWeek. 
  34. ^ Sengupta, Kim (February 7, 2017). "Isis-linked hackers attack NHS websites to show gruesome Syrian civil war images". The Independent. Retrieved July 24, 2017. 

External links[edit]