Notepad 7.9.2 with some tweaks, supporting Windows XP
Go to file
Andreas Jönsson 933aae4fc2 Improve str2Clipboard.
Make it take generic_string instead of TCHAR*, since at most callsites
we already have a generic_string.

Improve error handling. Depending on where we are in the function when
we get an error, we need to free the memory, unlock the memory, or
close the clipboard.

Note that if SetClipboardData succeeds then we should not do anything
more to the memory.
2015-06-01 18:47:24 +02:00
PowerEditor Improve str2Clipboard. 2015-06-01 18:47:24 +02:00
scintilla [BUG_FIXED] Fix a crash issue for old processors due to SSE2 instruction. 2014-12-31 22:58:26 +00:00
.gitignore ignore scintilla generated files 2015-05-31 20:59:49 +02:00
CONTRIBUTING.md [UPDATE] Add Section "Coding Style" 2015-05-29 03:56:29 +02:00
LICENSE [UPDATE] Conform to GitHub project standard format. 2015-05-08 16:00:42 +02:00
README.md [UPDATE] Conform to GitHub project standard format. 2015-05-08 16:00:42 +02:00

What is Notepad++ ?

Notepad++ is a free (free as in both "free speech" and "free beer") source code editor and Notepad replacement that supports several programming languages and natural languages. Running in the MS Windows environment, its use is governed by GPL License.

To build Notepad++ package from source code:

There should be several ways to generate Notepad++ binaries, here we show you only the way with which Notepad++ official releases are generated.

  • notepad++.exe: Visual Studio 2013
  • SciLexer.dll: Visual Studio 2013 (with nmake)

notepad++.exe: Double click on PowerEditor\visual.net\notepadPlus.vcproj to launch Notepad++ project in Visual Studio, then build it with the mode you want, that's it.

SciLexer.dll: From version 6.0, SciLexer.dll comes with release contains boost's PCRE (Perl Compatible Regular Expressions) feature. Therefore Boost is needed to compile Scintilla in order to have PCRE support. Here are the instructions to build SciLexer.dll for Notepad++:

  1. Download the Boost source code. v1.55 should be used with VS 2013. Then unzip it. In my case, "boost_1_55_0" is copied in C:\sources\
  2. Go to scintilla\boostregex\ then run BuildBoost.bat with your boost path. In my case: BuildBoost.bat C:\sources\boost_1_55_0
  3. Go in scintilla\win32\ then run nmake -f scintilla.mak

You can build SciLexer.dll without Boost, ie. with its default POSIX regular expression support instead boost's PCRE one. It will work with notepad++.exe, however some functionalities in Notepad++ may be broken. To build SciLexer.dll without PCRE support:

  1. Go in scintilla\win32\
  2. Run nmake with an option nmake NOBOOST=1 -f scintilla.mak

Notepad++ Unicode release binary (notepad++.exe) and Scintilla release binary (SciLexer.dll) will be built in the directories PowerEditor\bin\ and scintilla\bin\ respectively. You have to copy SciLexer.dll in PowerEditor\bin\ in order to launch notepad++.exe

Go to Notepad++ official site for more information.

Notepad++ Contributors