[FIX] More readme.md formatting and path fixes

This commit is contained in:
dail8859 2015-04-28 10:11:28 -04:00
parent 5be453b6f2
commit 8ed68c3826

View File

@ -12,28 +12,26 @@ There should be several ways to generate Notepad++ binaries, here we show you on
* SciLexer.dll: Visual Studio 2013 (with nmake) * SciLexer.dll: Visual Studio 2013 (with nmake)
notepad++.exe: notepad++.exe:
Double click on Notepad++\trunk\PowerEditor\visual.net\notepadPlus.vcproj to launch Notepad++ project in Visual Studio, then build it with the mode you want, that's it. 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: SciLexer.dll:
From version 6.0, SciLexer.dll comes with release contains boost's PCRE (Perl Compatible Regular Expressions) feature. From version 6.0, SciLexer.dll comes with release contains boost's PCRE (Perl Compatible Regular Expressions) feature.
Therefore Boost (http://www.boost.org/) is needed to compile Scintilla in order to have PCRE support. Therefore Boost (http://www.boost.org/) is needed to compile Scintilla in order to have PCRE support.
Here are the instructions to build SciLexer.dll for Notepad++: Here are the instructions to build SciLexer.dll for Notepad++:
1. Download source code of Boost from Boost site (http://www.boost.org/). v1.55 should be used with VS 2013. Then unzip it. In my case, "boost_1_55_0" is copied in "C:\sources\" 1. Download source code of Boost from Boost site (http://www.boost.org/). 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 Notepad++\trunk\scintilla\boostregex\ then run BuildBoost.bat with your boost path. In my case: 2. Go to `scintilla\boostregex\` then run BuildBoost.bat with your boost path. In my case: `BuildBoost.bat C:\sources\boost_1_55_0`
BuildBoost.bat C:\sources\boost_1_55_0 3. Go in `scintilla\win32\` then run `nmake -f scintilla.mak`
3. Go in Notepad++\trunk\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. 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: To build SciLexer.dll without PCRE support:
1. Go in Notepad++\trunk\scintilla\win32 1. Go in `scintilla\win32\`
2. Run nmake with an option: 2. Run nmake with an option `nmake NOBOOST=1 -f scintilla.mak`
nmake NOBOOST=1 -f scintilla.mak
Notepad++ Unicode release binary (notepad++.exe) and Scintilla release binary (SciLexer.dll) will be built in the directories "notepad++\trunk\PowerEditor\bin" and "notepad++\trunk\scintilla\bin" respectively. 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 "notepad++\PowerEditor\bin" in order to launch notepad++.exe You have to copy SciLexer.dll in `PowerEditor\bin\` in order to launch notepad++.exe
Go to Notepad++ official site for more information : Go to Notepad++ official site for more information:
http://notepad-plus-plus.org/ http://notepad-plus-plus.org/