From 5b38c6a75744db4173f07ec5e71d2067931c8bd1 Mon Sep 17 00:00:00 2001
From: XhmikosR
Date: Tue, 28 Feb 2017 10:38:51 +0200
Subject: [PATCH] Update Scintilla to v3.7.3.
---
scintilla/cppcheck.suppress | 3 -
scintilla/doc/ScintillaDoc.html | 14 +--
scintilla/doc/ScintillaDownload.html | 10 +--
scintilla/doc/ScintillaHistory.html | 89 ++++++++++++++++++-
scintilla/doc/index.html | 9 +-
scintilla/include/SciLexer.h | 4 +
scintilla/include/Scintilla.iface | 8 +-
scintilla/lexers/LexDiff.cxx | 4 +-
scintilla/lexers/LexLua.cxx | 4 +-
scintilla/lexers/LexMatlab.cxx | 33 +++++--
scintilla/lexers/LexPython.cxx | 123 +++++++++++++++++++++------
scintilla/lexlib/WordList.cxx | 10 +--
scintilla/scripts/FileGenerator.py | 44 ++++++++++
scintilla/scripts/HeaderOrder.txt | 2 +
scintilla/scripts/LexGen.py | 76 ++++++++++++++++-
scintilla/scripts/ScintillaData.py | 28 ++++++
scintilla/src/Document.cxx | 2 +-
scintilla/src/Document.h | 2 +-
scintilla/src/EditView.cxx | 10 ++-
scintilla/src/EditView.h | 2 +-
scintilla/src/Editor.cxx | 9 +-
scintilla/src/ScintillaBase.cxx | 2 +-
scintilla/src/XPM.cxx | 2 +-
scintilla/src/XPM.h | 2 +-
scintilla/version.txt | 2 +-
25 files changed, 407 insertions(+), 87 deletions(-)
diff --git a/scintilla/cppcheck.suppress b/scintilla/cppcheck.suppress
index 8f777b95..0def2841 100644
--- a/scintilla/cppcheck.suppress
+++ b/scintilla/cppcheck.suppress
@@ -8,9 +8,6 @@ useInitializationList
// Some non-explicit constructors are used for conversions or are private to lexers
noExplicitConstructor
-// cppcheck does not understand private methods can be called from static methods
-unusedPrivateFunction:scintilla/win32/PlatWin.cxx
-
// ScintillaDocument is providing an API and there are no consumers of the API inside Scintilla
unusedFunction:scintilla/qt/ScintillaEdit/ScintillaDocument.cpp
diff --git a/scintilla/doc/ScintillaDoc.html b/scintilla/doc/ScintillaDoc.html
index 05145f4f..a29bfe61 100644
--- a/scintilla/doc/ScintillaDoc.html
+++ b/scintilla/doc/ScintillaDoc.html
@@ -1536,8 +1536,8 @@
- SCI_SETSELECTION(int caret, int anchor) → int
+ SCI_SETSELECTION(int caret, int anchor)
Set a single selection from anchor
to caret
as the only selection.
- SCI_ADDSELECTION(int caret, int anchor) → int
+ SCI_ADDSELECTION(int caret, int anchor)
Add a new selection from anchor
to caret
as the main selection retaining all other
selections as additional selections.
Since there is always at least one selection, to set a list of selections, the first selection should be
@@ -5374,7 +5374,7 @@
SC_POPUP_NEVER |
- 0x01 |
+ 0 |
Never show default editing menu. |
@@ -5383,7 +5383,7 @@
SC_POPUP_ALL |
- 0x02 |
+ 1 |
Show default editing menu if clicking on scintilla. |
@@ -5392,7 +5392,7 @@
SC_POPUP_TEXT |
- 0x04 |
+ 2 |
Show default editing menu only if clicking on text area. |
diff --git a/scintilla/doc/ScintillaDownload.html b/scintilla/doc/ScintillaDownload.html
index c86e4439..f48f4abd 100644
--- a/scintilla/doc/ScintillaDownload.html
+++ b/scintilla/doc/ScintillaDownload.html
@@ -26,9 +26,9 @@
-
+
Windows
-
+
GTK+/Linux
|
@@ -42,7 +42,7 @@
containing very few restrictions.
- Release 3.7.2
+ Release 3.7.3
Source Code
@@ -50,8 +50,8 @@
The source code package contains all of the source code for Scintilla but no binary
executable code and is available in
- - zip format (1600K) commonly used on Windows
- - tgz format (1400K) commonly used on Linux and compatible operating systems
+ - zip format (1600K) commonly used on Windows
+ - tgz format (1400K) commonly used on Linux and compatible operating systems
Instructions for building on both Windows and Linux are included in the readme file.
diff --git a/scintilla/doc/ScintillaHistory.html b/scintilla/doc/ScintillaHistory.html
index a8c7c15f..566778bc 100644
--- a/scintilla/doc/ScintillaHistory.html
+++ b/scintilla/doc/ScintillaHistory.html
@@ -501,11 +501,13 @@
jedailey |
oirfeodent |
A-R-C-A |
-
Roberto Rossi |
Kenny Liu |
Iain Clarke |
+ desto |
+
+ John Flatness |
@@ -517,17 +519,98 @@
Icons Copyright(C) 1998 by Dean S. Jones
+
+ Release 3.7.4
+
+
+ -
+ Released 19 February 2017.
+
+ -
+ Fix to stream selection mode when moving caret up or down.
+ Bug #1905.
+
+ -
+ Fix crash on Cocoa with OS X 10.9 due to accessibility API not available.
+ Bug #1915.
+
+ -
+ Fix crash in accessibility code on GTK+ < 3.3.6 caused by previous bug fix.
+ Bug #1907.
+
+ -
+ Fix to prevent double scrolling on GTK+ with X11.
+ Bug #1901.
+
+ -
+ SciTE on GTK+ has changed file chooser behaviour for some actions:
+ overwriting an existing file shows a warning;
+ the default session file name "SciTE.session" is shown and a "*.session" filter is applied;
+ appropriate filters are applied when exporting;
+ the current file name is displayed in "Save As" even when that file no longer exists.
+
+
Release 3.7.3
-
- Released 30 December 2016.
+ Released 19 February 2017.
-
- The Python lexer partly supports f-strings, allows Unicode identifiers, and no longer allows @1 to be a decorator.
+ Display block caret over the character at the end of a selection to be similar
+ to other editors.
+
+ -
+ In SciTE can choose colours for fold markers.
+ Feature #1172.
+
+ -
+ In SciTE can hide buffer numbers in tabs.
+ Feature #1173.
+
+ -
+ The Diff lexer recognizes deleted lines that start with "--- ".
+
+ -
+ The Lua lexer requires the first line to start with "#!" to be treated as a shebang comment,
+ not just "#".
+ Bug #1900.
+
+ -
+ The Matlab lexer requires block comment start and end to be alone on a line.
+ Bug #1902.
+
+ -
+ The Python lexer supports f-strings with new styles, allows Unicode identifiers,
+ and no longer allows @1 to be a decorator.
Bug #1848.
+ -
+ Fix folding inconsistency when fold header added above a folded part.
+ Avoid unnecessary unfolding when a deletion does not include a line end.
+ Bug #1896.
+
+ -
+ Fix finalization crash on Cocoa.
+ Bug #1909.
+
+ -
+ SciTE on GTK+ can have a wide divider between the panes with the
+ split.wide property.
+
+ -
+ Fix display of autocompletion lists and calltips on GTK+ 3.22 on Wayland.
+ Newer APIs used on GTK+ 3.22 as older APIs were deprecated.
+
+ -
+ Fix crash in accessibility code on GTK+ due to signal receipt after destruction.
+ Bug #1907.
+
+ -
+ Make trackpad scrolling work on Wayland.
+ Bug #1901.
+
Release 3.7.2
diff --git a/scintilla/doc/index.html b/scintilla/doc/index.html
index 84c8dc2d..c559b5ff 100644
--- a/scintilla/doc/index.html
+++ b/scintilla/doc/index.html
@@ -9,7 +9,7 @@
-
+