about notepad++.................
Notepad++ is a free (as in "free speech" and also as in "free beer") source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by
GPL License.
Based on a powerful editing component
Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment.
This project is mature. However, there may be still some bugs and missing features that are being worked on. If you have any questions or suggestions about this project, please post them in the
forums. Also, if you wish to make a feature request, you can post it there as well. But there's no guarantee that I'll implement your request.
I hope you enjoy Notepad++ as much as I enjoy coding it.
Here are the features of Notepad++ :
| WYSIWYG
|
| If you have a colour printer, print your source code (or whatever you want) in colour.
|
| Multi-View
|
| You have two views at same time. That means you can visualize (edit) 2 different documents at the same time ( screenshot). You can visualize (edit) in the 2 views one document at 2 different positions as well. The modification of document in one view will carry out in another view (i.e. you modify the SAME document when you are in clone mode, see screenshot).
|
| Full Drag ‘N' Drop supported
|
| You can open a document by drag & drop. You can also move your document from a position (or even a view) to another by drag & drop.
|
| Dynamic position of Views
|
| The user can set the position of the views dynamically (only in 2 views mode : the splitter can be set in horizontal or in vertical), see screenshot.
|
| File Status Auto-detection
|
| If you modify or delete a file which opened in Notepad++, you will be notified to update your document (reload the file or remove the file).
|
| Bookmark
|
| User can just click on the bookmark margin (located right side of line number margin) or type Ctrl+F2 to toggle a book mark. To reach the bookmark, type just F2 (Next bookmark) or Shift+F2 (Previous bookmark). To clear all bookmarks, click the Menu Search->Clear All bookmarks. See screenshot.
|
screen shots
downloads:..............
| Binary files |
| For the binary (executable program) download, you have 2 choices: zip format and executable installer format. The installer format should suit for everyone since it gives all the possibilities (the choice of language, the options for components to install...). Whereas the zip format contains the minimum files to execute Notepad++.
For the zip format installation, if it's the first time you install Notepad++, just unzip the zip file to desired directory, then execute notepad++.exe. However, if you upgrade Notepad++ from the previous version, you have to follow the instructions:
- Get Run Dialog by clicking start->run (Notepad++ should be closed).
- Copy this text %APPDATA%\Notepad++ into the text field of Run Dialog.
- Click ok. A folder named "Notepad++" will appear.
- Delete 2 files config.xml and stylers.xml then unzip the zip file and launch Notepad++.
Download Notepad++ executable files
|
| Source files |
| To build this package:
- For generating the executable file (notepad++.exe), you can use VC++ 7 or MinGW 3.0 / 2.X . A makefile is available, but not maintained anymore. I suggest you generate makefile via CMakeLists.txt come with this project by using cmake.
- For generating the dll files (SciLexer.dll) , you have to use VC++ 6 or MinGW 3.0 / 2.X
All the binaries will be built in the directory notepad++\PowerEditor\bin
Download Notepad++ source files
|
| Plugins |
| From the v3.1, Notepad++ has the extension capacity - the plugin system. Please see Plugins HOWTO to learn how to install a plugin or/and how to develop a plugin.
Check here to get the list of all plugins. Make your first Notepad++ plugin in less 10 minutes, follow 6 steps to make a very simple plugin:
- Downdload and unzip Notepad++ Plugin Template.
- Open NppPluginTemplate.vcproj in your Visual Studio.
- Define your plugin name in PluginDefinition.h
- Define your plugin commands number in PluginDefinition.h
- Customize plugin commands names and associated function name (and the other stuff, optional) in PluginDefinition.cpp.
- Define the associated functions.
You are guided by the following comments in both PluginDefinition.h and PluginDefinition.cpp files:
//-- STEP 1. DEFINE YOUR PLUGIN NAME --//
//-- STEP 2. DEFINE YOUR PLUGIN COMMAND NUMBER --//
//-- STEP 3. CUSTOMIZE YOUR PLUGIN COMMANDS --//
//-- STEP 4. DEFINE YOUR ASSOCIATED FUNCTIONS --//
A good sample illustrates better the whole picture than a detailed documentation. You can check Notepad++ Plugin Demo to learn how to make some commands more complex.
However, the knowledge of Notepad++ plugin system is required, if you want to accomplish some sophisticated plugin commands.
|
| Notepad Replacement |
| Here's a little Notepad++ launcher which allows you to replace Notepad completely by Notepad++.
Installation Instruction:
- Backup your original Notepad.exe (we never know...).
- Copy notepad.exe which comes with this package into 4 directories (in given order) :
- c:\windows\servicepackfiles\i386
- c:\windows\system32\dllcache
- c:\windows\system32
- c:\windows
When you replace notepad.exe in c:\windows\system32 and c:\windows, a "Windows File Protection" message box appears, click Cancel. Then another message box appears, click OK.
- Modify you registry (if you use installer to install your Notepad++, you don't need to do this step): Create key \HKEY_LOCAL_MACHINE\SOFTWARE\Notepad++, then add your Notepad++ full path as the default value of this key. In my case, it's C:\Program Files\Notepad++.
Now Notepad++ is your default Notepad.
I make a point of thanking Stépho for his contribution. The source code is available here.
|
| Logos |
| Some people asked me for Notepad++ logos to put on there sites. So here they are.
|
| Language files |
|
Notepad++ (from v2.3) supports the multilanguage functionality by means of a translated xml file (from english.xml). Normally you don't need it if you install Notepad++ by its installer. You may need the language file if you install Notepad++ from zip format binary (or if your language is not supported by NSIS installer).
To make Notepad++ speak another language, you have to :
- Download the language you need, rename it to nativeLang.xml.
- Get Run Dialog by clicking start->run then type %APPDATA%\Notepad++ into the text field of Run Dialog.
- Copy nativeLang.xml into the opened Directory
- Launch Notepad++
Here are the available languages for Notepad++ for the moment:
|
| User Defined Language files |
| There are some language files that you may need. Here're the instructions to install them :
- Download the user-defined language to your computer
- Open the file with your favourite text editor (such as notepad++ or notepad)
- Click start, run, type (or paste in) %APPDATA%\Notepad++ then click ok
- Open userDefineLang.xml with a text editor
- If this is the first userdefined language you are adding, copy/paste the entire first file (which you downloaded) into the userDefineLang.xml, replacing all that was there. If this is the second or more language you add, simply copy everything from the first file starting at to and paste it at the end of the userDefineLang.xml right before
- Save the newly improved userDefineLang.xml
Please see User Language Define System HOWTO to have further information.
|
No comments:
Post a Comment