2013-08-28 02:44:27 +02:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2011-05-05T12:41:23
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
Updated to Scintilla 5.4.1 & Lexilla 5.3.0
Scintilla 5.4.1
https://www.scintilla.org/scintilla541.zip
Released 27 December 2023.
1. Add IDocumentEditable interface to allow efficient interaction with document objects which may not be visible in a Scintilla instance. This feature is provisonal and may change before being declared stable. For better type-safety, the ScintillaCall C++ API uses IDocumentEditable* where void* was used before which may require changes to client code that uses document pointer APIs DocPointer, SetDocPointer, CreateDocument, AddRefDocument, and ReleaseDocument.
2. Ctrl-click on a selection deselects it in multiple selection mode.
3. Add SCI_SELECTIONFROMPOINT for modifying multiple selections.
4. Add SCI_SETMOVEEXTENDSSELECTION and SCI_CHANGESELECTIONMODE to simplify selection mode manipulation.
5. Improve performance of global replace by reducing cache invalidation overhead. [Feature #1502](https://sourceforge.net/p/scintilla/feature-requests/1502/).
6. Fix regular expression search for "\<" matching beginning of search when not beginning of word and for "\>" not matching line end. [Bug #2157](https://sourceforge.net/p/scintilla/bugs/2157/).
7. Fix regular expression search failure when search for "\<" followed by search for "\>". [Bug #2413](https://sourceforge.net/p/scintilla/bugs/2413/).
8. Fix regular expression assertion (^, $, \b. \B) failures when using SCFIND_CXX11REGEX. [Bug #2405](https://sourceforge.net/p/scintilla/bugs/2405/).
9. Fix regular expression bug in reverse direction where shortened match returned. [Bug #2405](https://sourceforge.net/p/scintilla/bugs/2405/).
10. Avoid character fragments in regular expression search results. [Bug #2405](https://sourceforge.net/p/scintilla/bugs/2405/).
11. With a document that does not have the SC_DOCUMENTOPTION_TEXT_LARGE option set, allocating more than 2G (calling SCI_ALLOCATE or similar) will now fail with SC_STATUS_FAILURE.
12. Protect SCI_REPLACETARGET, SCI_REPLACETARGETMINIMAL, and SCI_REPLACETARGETRE from application changing target in notification handlers. [Bug #2289](https://sourceforge.net/p/scintilla/bugs/2289/).
Lexilla 5.3.0
https://www.scintilla.org/lexilla530.zip
Released 27 December 2023.
1. Fix calling AddStaticLexerModule by defining as C++ instead of C which matches header. [Bug #2421](https://sourceforge.net/p/scintilla/bugs/2421/).
2. Bash: Fix shift operator << incorrectly recognized as here-doc. [Issue #215](https://github.com/ScintillaOrg/lexilla/issues/215).
3. Bash: Fix termination of '${' with first unquoted '}' instead of nesting. [Issue #216](https://github.com/ScintillaOrg/lexilla/issues/216).
4. HTML: JavaScript double-quoted strings may escape line end with '\'. [Issue #214](https://github.com/ScintillaOrg/lexilla/issues/214).
5. Lua: recognize --- doc comments. Defined by [LDoc](https://github.com/lunarmodules/ldoc). Does not recognize --[[-- doc comments which seem less common.
Close #14375
2023-11-19 18:46:55 +01:00
|
|
|
equals(QT_MAJOR_VERSION, 6): QT += core5compat
|
2013-08-28 02:44:27 +02:00
|
|
|
|
|
|
|
TARGET = ScintillaEditBase
|
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += lib_bundle
|
2019-05-04 20:14:48 +02:00
|
|
|
CONFIG += c++1z
|
2013-08-28 02:44:27 +02:00
|
|
|
|
2024-10-19 18:45:23 +02:00
|
|
|
VERSION = 5.5.3
|
2013-08-28 02:44:27 +02:00
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
PlatQt.cpp \
|
|
|
|
ScintillaQt.cpp \
|
|
|
|
ScintillaEditBase.cpp \
|
|
|
|
../../src/XPM.cxx \
|
|
|
|
../../src/ViewStyle.cxx \
|
2019-07-21 15:26:02 +02:00
|
|
|
../../src/UniqueString.cxx \
|
2013-08-28 02:44:27 +02:00
|
|
|
../../src/UniConversion.cxx \
|
Updated to Scintilla 5.4.2 & Lexilla 5.3.1
https://www.scintilla.org/scintilla542.zip
Release 5.4.2
Released 5 March 2024.
Significantly reduce memory used for undo actions, often to a half or quarter of previous versions. Feature #1458.
Add APIs for saving and restoring undo history.
For GTK, when laying out text, detect runs with both left-to-right and right-to-left ranges and divide into an ASCII prefix and more complex suffix. Lay out the ASCII prefix in the standard manner but, for the suffix, measure the whole width and spread that over the suffix bytes. This produces more usable results where the caret moves over the ASCII prefix correctly and over the suffix reasonably but not accurately.
For ScintillaEdit on Qt, fix reference from ScintillaDocument to Document to match change in 5.4.1 using IDocumentEditable for SCI_GETDOCPOINTER and SCI_SETDOCPOINTER.
For Direct2D on Win32, use the multi-threaded option to avoid crashes when Scintilla instances created on different threads. There may be more problems with this scenario so it should be avoided. Bug #2420.
For Win32, ensure keyboard-initiated context menu appears in multi-screen situations.
https://www.scintilla.org/lexilla531.zip
Release 5.3.1
Released 5 March 2024.
Assembler: After comments, treat \r\n line ends the same as \n. This makes testing easier.
Bash: Fix folding when line changed to/from comment and previous line is comment. Issue #224.
Batch: Fix handling ':' next to keywords. Issue #222.
JavaScript: in cpp lexer, add lexer.cpp.backquoted.strings=2 mode to treat ` back-quoted strings as template literals which allow embedded ${expressions}. Issue #94.
Python: fix lexing of rb'' and rf'' strings. Issue #223, Pull request #227.
Ruby: fix lexing of methods on numeric literals like '3.times' so the '.' and method name do not appear in numeric style. Issue #225.
2024-03-06 22:05:54 +01:00
|
|
|
../../src/UndoHistory.cxx \
|
2013-08-28 02:44:27 +02:00
|
|
|
../../src/Style.cxx \
|
|
|
|
../../src/Selection.cxx \
|
|
|
|
../../src/ScintillaBase.cxx \
|
|
|
|
../../src/RunStyles.cxx \
|
|
|
|
../../src/RESearch.cxx \
|
|
|
|
../../src/PositionCache.cxx \
|
|
|
|
../../src/PerLine.cxx \
|
2015-06-07 23:19:26 +02:00
|
|
|
../../src/MarginView.cxx \
|
2013-08-28 02:44:27 +02:00
|
|
|
../../src/LineMarker.cxx \
|
|
|
|
../../src/KeyMap.cxx \
|
|
|
|
../../src/Indicator.cxx \
|
2022-01-05 00:07:50 +01:00
|
|
|
../../src/Geometry.cxx \
|
2015-06-07 23:19:26 +02:00
|
|
|
../../src/EditView.cxx \
|
2013-08-28 02:44:27 +02:00
|
|
|
../../src/Editor.cxx \
|
2015-06-07 23:19:26 +02:00
|
|
|
../../src/EditModel.cxx \
|
2013-08-28 02:44:27 +02:00
|
|
|
../../src/Document.cxx \
|
|
|
|
../../src/Decoration.cxx \
|
2019-05-04 20:14:48 +02:00
|
|
|
../../src/DBCS.cxx \
|
2013-08-28 02:44:27 +02:00
|
|
|
../../src/ContractionState.cxx \
|
|
|
|
../../src/CharClassify.cxx \
|
2022-01-05 00:07:50 +01:00
|
|
|
../../src/CharacterType.cxx \
|
|
|
|
../../src/CharacterCategoryMap.cxx \
|
2022-08-27 09:35:52 +02:00
|
|
|
../../src/ChangeHistory.cxx \
|
2013-08-28 02:44:27 +02:00
|
|
|
../../src/CellBuffer.cxx \
|
|
|
|
../../src/CaseFolder.cxx \
|
|
|
|
../../src/CaseConvert.cxx \
|
|
|
|
../../src/CallTip.cxx \
|
2022-01-05 00:07:50 +01:00
|
|
|
../../src/AutoComplete.cxx
|
2013-08-28 02:44:27 +02:00
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
PlatQt.h \
|
|
|
|
ScintillaQt.h \
|
|
|
|
ScintillaEditBase.h \
|
|
|
|
../../src/XPM.h \
|
|
|
|
../../src/ViewStyle.h \
|
Updated to Scintilla 5.4.2 & Lexilla 5.3.1
https://www.scintilla.org/scintilla542.zip
Release 5.4.2
Released 5 March 2024.
Significantly reduce memory used for undo actions, often to a half or quarter of previous versions. Feature #1458.
Add APIs for saving and restoring undo history.
For GTK, when laying out text, detect runs with both left-to-right and right-to-left ranges and divide into an ASCII prefix and more complex suffix. Lay out the ASCII prefix in the standard manner but, for the suffix, measure the whole width and spread that over the suffix bytes. This produces more usable results where the caret moves over the ASCII prefix correctly and over the suffix reasonably but not accurately.
For ScintillaEdit on Qt, fix reference from ScintillaDocument to Document to match change in 5.4.1 using IDocumentEditable for SCI_GETDOCPOINTER and SCI_SETDOCPOINTER.
For Direct2D on Win32, use the multi-threaded option to avoid crashes when Scintilla instances created on different threads. There may be more problems with this scenario so it should be avoided. Bug #2420.
For Win32, ensure keyboard-initiated context menu appears in multi-screen situations.
https://www.scintilla.org/lexilla531.zip
Release 5.3.1
Released 5 March 2024.
Assembler: After comments, treat \r\n line ends the same as \n. This makes testing easier.
Bash: Fix folding when line changed to/from comment and previous line is comment. Issue #224.
Batch: Fix handling ':' next to keywords. Issue #222.
JavaScript: in cpp lexer, add lexer.cpp.backquoted.strings=2 mode to treat ` back-quoted strings as template literals which allow embedded ${expressions}. Issue #94.
Python: fix lexing of rb'' and rf'' strings. Issue #223, Pull request #227.
Ruby: fix lexing of methods on numeric literals like '3.times' so the '.' and method name do not appear in numeric style. Issue #225.
2024-03-06 22:05:54 +01:00
|
|
|
../../src/UndoHistory.h \
|
2013-08-28 02:44:27 +02:00
|
|
|
../../src/UniConversion.h \
|
|
|
|
../../src/Style.h \
|
|
|
|
../../src/SplitVector.h \
|
|
|
|
../../src/Selection.h \
|
|
|
|
../../src/ScintillaBase.h \
|
|
|
|
../../src/RunStyles.h \
|
|
|
|
../../src/RESearch.h \
|
|
|
|
../../src/PositionCache.h \
|
2022-01-05 00:07:50 +01:00
|
|
|
../../src/Platform.h \
|
2013-08-28 02:44:27 +02:00
|
|
|
../../src/PerLine.h \
|
|
|
|
../../src/Partitioning.h \
|
|
|
|
../../src/LineMarker.h \
|
|
|
|
../../src/KeyMap.h \
|
|
|
|
../../src/Indicator.h \
|
2022-01-05 00:07:50 +01:00
|
|
|
../../src/Geometry.h \
|
2013-08-28 02:44:27 +02:00
|
|
|
../../src/Editor.h \
|
|
|
|
../../src/Document.h \
|
|
|
|
../../src/Decoration.h \
|
|
|
|
../../src/ContractionState.h \
|
|
|
|
../../src/CharClassify.h \
|
2022-01-05 00:07:50 +01:00
|
|
|
../../src/CharacterType.h \
|
|
|
|
../../src/CharacterCategoryMap.h \
|
2022-08-27 09:35:52 +02:00
|
|
|
../../src/ChangeHistory.h \
|
2013-08-28 02:44:27 +02:00
|
|
|
../../src/CellBuffer.h \
|
|
|
|
../../src/CaseFolder.h \
|
|
|
|
../../src/CaseConvert.h \
|
|
|
|
../../src/CallTip.h \
|
|
|
|
../../src/AutoComplete.h \
|
|
|
|
../../include/Scintilla.h \
|
2022-01-05 00:07:50 +01:00
|
|
|
../../include/ILexer.h
|
2013-08-28 02:44:27 +02:00
|
|
|
|
|
|
|
OTHER_FILES +=
|
|
|
|
|
2022-01-05 00:07:50 +01:00
|
|
|
INCLUDEPATH += ../../include ../../src
|
2013-08-28 02:44:27 +02:00
|
|
|
|
Update scintilla 5.3.4 and lexilla 5.2.4 with:
https://www.scintilla.org/scintilla534.zip
Released 8 March 2023.
Add multithreaded wrap to significantly improve performance of wrapping large files.
More typesafe bindings of *Full APIs in ScintillaCall. Feature #1477.
Fix overlapping of text with line end wrap marker. Bug #2378.
Fix clipping of line end wrap symbol for SC_WRAPVISUALFLAGLOC_END_BY_TEXT.
Where a multi-byte character contains multiple styles, display each byte as a representation. This makes it easier to see and fix lexers that change styles mid-character, commonly because they use fixed size buffers.
Fix a potential crash with autocompletion list fill-ups where a SCN_CHARADDED handler retriggered an autocompletion list, but with no items that match the typed character.
lexilla523
Released 8 March 2023.
Add scripts/PromoteNew.bat script to promote .new files after checking.
Makefile: Remove 1024-byte line length limit..
Ruby: Add new lexical classes for % literals SCE_RB_STRING_W (%w non-interpolable string array), SCE_RB_STRING_I (%i non-interpolable symbol array), SCE_RB_STRING_QI (%I interpolable symbol array), and SCE_RB_STRING_QS (%s symbol). Issue #124.
Ruby: Disambiguate %= which may be a quote or modulo assignment. Issue #124, Bug #1255, Bug #2182.
Ruby: Fix additional fold level for single character in SCE_RB_STRING_QW. Issue #132.
Ruby: Set SCE_RB_HERE_QQ for unquoted and double-quoted heredocs and SCE_RB_HERE_QX for backticks-quoted heredocs. Issue #134.
Ruby: Recognise #{} inside SCE_RB_HERE_QQ and SCE_RB_HERE_QX. Issue #134.
Ruby: Improve regex and heredoc recognition. Issue #136.
Ruby: Highlight #@, #@@ and #$ style interpolation. Issue #140.
Ruby: Fix folding for multiple heredocs started on one line. Fix folding when there is a space after heredoc opening delimiter. Issue #135.
YAML: Remove 1024-byte line length limit.
https://www.scintilla.org/lexilla524.zip
Released 13 March 2023.
C++: Fix failure to recognize keywords containing upper case. Issue #149.
GDScript: Support % and $ node paths. Issue #145, Pull request #146.
Close #13338
2023-03-10 03:37:21 +01:00
|
|
|
DEFINES += SCINTILLA_QT=1 MAKING_LIBRARY=1
|
2019-05-04 20:14:48 +02:00
|
|
|
CONFIG(release, debug|release) {
|
|
|
|
DEFINES += NDEBUG=1
|
|
|
|
}
|
2013-08-28 02:44:27 +02:00
|
|
|
|
|
|
|
DESTDIR = ../../bin
|
|
|
|
|
|
|
|
macx {
|
|
|
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Frameworks/
|
|
|
|
}
|