Posted on 23rd December 2008 by Krow in Tips & Tricks

NotePad++ Logo

Before I used Ubuntu I too was a MS Windows user. My preference was XP as I gave Vista a chance but went back to XP after 4 hours of frustration. And this is my opening to this post as I have received an email about an update to a program that I admit I miss in my Windows environment. The program is Notepad++ and the update is 5.1.2.

Notepad++ is a free program that can replace the default Notepad editor that comes with Windows. Notepad++ supports several languages that the default Notepad just can not do. One thing the developers of Notepad++ have tried to do and have done a great job at is a higher execution speed and smaller program size.

Some of the features that Notepad++ offers are:
Syntax Highlighting for – HTML, PHP, CSS, SQL, C, C++, C#, Java, JavaScript, ASP, Python, Perl and many other languages
Drag and Drop – You can open a file just by dragging a file into it
WYSIWYG (What You See Is What You Get)
Multi-Document – Edit multiple documents at the same time

There may be bugs that are being worked on with this release but the programmers encourage users that if you have any questions or suggestions about the project to post them in the forums. If you wish to make a feature request, you can post it there as well.

If you decide to use Notepad++ I would encourage you to do one tweak that I fully enjoyed. It will replace the default Notepad in Windows. To do this tweak you will need to do the following:

  • Backup your original Notepad.exe (you never know…).
  • Copy notepad.exe which you downloaded into the following directories :

    1. c:\windows\servicepackfiles\i386
    2. c:\windows\system32\dllcache
    3. c:\windows\system32
    4. 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 :
    Create key \HKEY_LOCAL_MACHINE\SOFTWARE\Notepad++, then add your Notepad++ full path as the default value of this key.

Notepad++ is now your default text editor. Enjoy