mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-04-08 17:15:37 +02:00
Release 5.5.3 (https://www.scintilla.org/scintilla553.zip) Released 19 October 2024. On Win32 change direction of horizontal mouse wheel and touchpad scrolling to match other applications. Bug #2449. Release 5.4.1 (https://www.scintilla.org/lexilla541.zip) Released 19 October 2024. Lexer added for Dart "dart". Pull request #265, Pull request #275. Lexer added for troff / nroff "troff". Pull request #264. Lexer added for Zig "zig". Pull request #267. C++: Fix crash for empty documentation comment keyword where '<' occurs at line end. F#: Include EOLs in the style range of SCE_FSHARP_COMMENTLINE. Stabilizes EOL detection when folding line comment groups. Issue #276. F#: Fix per-line folding in F# documents. Issue #277. HTML: Improve SGML/DTD lexing. Don't terminate SGML when > inside quoted string. Lex both [ and ] as SCE_H_SGML_DEFAULT. Nested sections handled instead of switching to SCE_H_SGML_ERROR. Issue #272. JavaScript: New SCE_HJ_TEMPLATELITERAL and SCE_HJA_TEMPLATELITERAL styles for template literals when lexer is hypertext, or xml. Issue #280. PHP: Fix failure to recognize PHP start "<?php' at end of document. Caused by not capping retrieval range at document end causing no text to be retrieved. Issue #269. Smalltalk: Fix scaled decimal numbers without decimal separator. Pull request #274. Fix #15228, fix #15368, fix #15650, close #15717
93 lines
3.0 KiB
Plaintext
93 lines
3.0 KiB
Plaintext
README for building of Scintilla, Lexilla, and SciTE
|
|
|
|
Scintilla and Lexilla can be built by themselves.
|
|
To build SciTE, Scintilla and Lexilla should first be built.
|
|
|
|
See lexilla/README for information on building Lexilla.
|
|
|
|
*** GTK+/Linux version ***
|
|
|
|
You must first have GTK+ 2.24 or later and GCC (7.1 or better) installed.
|
|
Clang may be used by adding CLANG=1 to the make command line.
|
|
Other C++ compilers may work but may require tweaking the make file.
|
|
Either GTK+ 2.x or 3.x may be used with 2.x the default and 3.x
|
|
chosen with the make argument GTK3=1.
|
|
|
|
To build Scintilla, use the makefile located in the scintilla/gtk directory
|
|
cd scintilla/gtk
|
|
make
|
|
cd ../..
|
|
|
|
To build and install SciTE, use the makefile located in the scite/gtk directory
|
|
cd scite/gtk
|
|
make
|
|
sudo make install
|
|
|
|
This installs SciTE into $prefix/bin. The value of $prefix is determined from
|
|
the location of Gnome if it is installed. This is usually /usr if installed
|
|
with Linux or /usr/local if built from source. If Gnome is not installed
|
|
/usr/bin is used as the prefix. The prefix can be overridden on the command
|
|
line like "make prefix=/opt" but the same value should be used for both make
|
|
and make install as this location is compiled into the executable. The global
|
|
properties file is installed at $prefix/share/scite/SciTEGlobal.properties.
|
|
The language specific properties files are also installed into this directory.
|
|
|
|
To remove SciTE
|
|
sudo make uninstall
|
|
|
|
To clean the object files which may be needed to change $prefix
|
|
make clean
|
|
|
|
The current make file supports static and dynamic linking between SciTE, Scintilla, and Lexilla.
|
|
|
|
|
|
*** Windows version ***
|
|
|
|
A C++ 17 compiler is required.
|
|
Visual Studio 2019 is the development system used for most development
|
|
although Mingw-w64 9.2 is also supported.
|
|
|
|
To build Scintilla, make in the scintilla/win32 directory
|
|
cd scintilla\win32
|
|
GCC: mingw32-make
|
|
Visual C++: nmake -f scintilla.mak
|
|
cd ..\..
|
|
|
|
To build SciTE, use the makefiles located in the scite/win32 directory
|
|
cd scite\win32
|
|
GCC: mingw32-make
|
|
Visual C++: nmake -f scite.mak
|
|
|
|
An executable SciTE will now be in scite/bin.
|
|
|
|
*** GTK+/Windows version ***
|
|
|
|
Mingw-w64 is known to work. Other compilers will probably not work.
|
|
|
|
Only Scintilla will build with GTK+ on Windows. SciTE will not work.
|
|
|
|
Make builds both a static library version of Scintilla with lexers (scintilla.a) and
|
|
a shared library without lexers (libscintilla.so or libscintilla.dll).
|
|
|
|
To build Scintilla, make in the scintilla/gtk directory
|
|
cd scintilla\gtk
|
|
mingw32-make
|
|
|
|
*** macOS Cocoa version ***
|
|
|
|
Xcode 9.2 or later may be used to build Scintilla on macOS.
|
|
|
|
There is no open source version of SciTE for macOS but there is a commercial
|
|
version available through the App Store.
|
|
|
|
To build Scintilla, run xcodebuild in the scintilla/cocoa/ScintillaFramework or
|
|
scintilla/cocoa/Scintilla directory
|
|
|
|
cd cocoa/Scintilla
|
|
|
|
xcodebuild
|
|
|
|
*** Qt version ***
|
|
|
|
See the qt/README file to build Scintilla with Qt.
|