From 059f9977ef0be4cac0e705f44c1b3be50aab6fde Mon Sep 17 00:00:00 2001
From: Don Ho
Date: Sun, 5 Sep 2010 22:56:27 +0000
Subject: [PATCH] [UPDATE] Update Scintilla to v2.21.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@662 f5eea248-9336-0410-98b8-ebc06183d4e3
---
scintilla/cocoa/Framework.mk | 4 +-
scintilla/doc/ScintillaDoc.html | 20 +-
scintilla/doc/ScintillaDownload.html | 10 +-
scintilla/doc/ScintillaHistory.html | 99 +
scintilla/doc/index.html | 7 +-
scintilla/gtk/PlatGTK.cxx | 123 +-
scintilla/gtk/ScintillaGTK.cxx | 213 +-
scintilla/gtk/deps.mak | 44 +-
scintilla/gtk/makefile | 3 +-
scintilla/include/ILexer.h | 2 +
scintilla/include/SciLexer.h | 9 -
scintilla/include/Scintilla.h | 12 +-
scintilla/include/Scintilla.iface | 9 +-
scintilla/include/ScintillaWidget.h | 2 +-
scintilla/lexers/LexCPP.cxx | 19 +-
scintilla/lexers/LexHTML.cxx | 32 +-
scintilla/lexers/LexHaskell.cxx | 252 ++-
scintilla/lexers/LexMarkdown.cxx | 4 +-
scintilla/lexers/LexMySQL.cxx | 198 +-
scintilla/lexers/LexPowerPro.cxx | 290 +--
scintilla/lexers/LexPowerShell.cxx | 2 +-
scintilla/lexlib/LexerSimple.cxx | 8 +-
scintilla/lexlib/StyleContext.h | 1 +
scintilla/macosx/ScintillaMacOSX.cxx | 180 +-
scintilla/macosx/ScintillaMacOSX.h | 13 +-
scintilla/src/Catalogue.cxx | 4 +-
scintilla/src/Document.cxx | 204 +-
scintilla/src/Document.h | 6 +-
scintilla/src/Editor.cxx | 13 +-
scintilla/src/LexGen.py | 34 +-
scintilla/src/PerLine.cxx | 2 +
scintilla/vcbuild/SciLexer.dsp | 12 -
scintilla/vcbuild/SciLexer.vcproj | 2742 ++++++++++++++++++++++++++
scintilla/version.txt | 2 +-
scintilla/win32/PlatWin.cxx | 1 -
scintilla/win32/ScintRes.rc | 8 +-
scintilla/win32/ScintillaWin.cxx | 62 +-
scintilla/win32/makefile | 8 +-
38 files changed, 3923 insertions(+), 731 deletions(-)
create mode 100644 scintilla/vcbuild/SciLexer.vcproj
diff --git a/scintilla/cocoa/Framework.mk b/scintilla/cocoa/Framework.mk
index 51f4fc71..261134e0 100644
--- a/scintilla/cocoa/Framework.mk
+++ b/scintilla/cocoa/Framework.mk
@@ -18,14 +18,14 @@ SCI_LEXERS=LexAPDL.o LexASY.o LexAU3.o LexAVE.o LexAbaqus.o LexAda.o \
LexPython.o LexR.o LexRebol.o LexRuby.o LexSML.o LexSQL.o LexScriptol.o \
LexSmalltalk.o LexSorcus.o LexSpecman.o LexSpice.o LexTACL.o LexTADS3.o \
LexTAL.o LexTCL.o LexTeX.o LexVB.o LexVHDL.o LexVerilog.o LexYAML.o \
- LexerBase.o LexerModule.o LexerSimple.o Accessor.o
+ LexTxt2tags.o LexerBase.o LexerModule.o LexerSimple.o Accessor.o
SCI_OBJ=AutoComplete.o CallTip.o CellBuffer.o CharClassify.o \
ContractionState.o Decoration.o Document.o Editor.o \
ExternalLexer.o Indicator.o KeyMap.o LineMarker.o PerLine.o \
PositionCache.o PropSetSimple.o RESearch.o RunStyles.o ScintillaBase.o Style.o \
StyleContext.o UniConversion.o ViewStyle.o XPM.o WordList.o \
- Selection.o CharacterSet.o Catalogue.o $(SCI_LEXERS)
+ Selection.o CharacterSet.o Catalogue.o $(SCI_LEXERS)
WAH_OBJ=DocumentAccessor.o KeyWords.o WindowAccessor.o
diff --git a/scintilla/doc/ScintillaDoc.html b/scintilla/doc/ScintillaDoc.html
index ad7be119..b2237891 100644
--- a/scintilla/doc/ScintillaDoc.html
+++ b/scintilla/doc/ScintillaDoc.html
@@ -3038,28 +3038,10 @@ struct Sci_TextToFind {
horizontal space, such as Thai, will mostly work but there are some issues where the characters
are drawn separately leading to visual glitches. Bi-directional text is not supported.
- On Windows, code page can be set to 932 (Japanese Shift-JIS), 936 (Simplified Chinese GBK),
+
Code page can be set to 932 (Japanese Shift-JIS), 936 (Simplified Chinese GBK),
949 (Korean Unified Hangul Code), 950 (Traditional Chinese Big5), or 1361 (Korean Johab)
although these may require installation of language specific support.
- On GTK+, code page can be set to 932 (Japanese Shift-JIS), 936 (Simplified Chinese GBK),
- or 950 (Traditional Chinese Big5).
- The code page may also be set to SC_CP_DBCS
(1)
- which uses the current locale to handle multi byte characters which may work for otherwise unsupported
- code pages.
-
- For GTK+ 1.x, the locale should be set to a Unicode locale with a call similar to
- setlocale(LC_CTYPE, "en_US.UTF-8")
. Fonts with an "iso10646"
registry
- should be used in a font set. Font sets are a comma separated list of partial font
- specifications where each partial font specification can be in the form:
- foundry-fontface-charsetregistry-encoding
or
- fontface-charsetregistry-encoding
or foundry-fontface
or
- fontface
. An example is "misc-fixed-iso10646-1,*"
.
- On GTK+ 2.x, Pango fonts should be used rather than font sets.
-
- Setting codePage
to a non-zero value that is not SC_CP_UTF8
is
- operating system dependent.
-
SCI_SETKEYSUNICODE(bool keysUnicode)
SCI_GETKEYSUNICODE
On Windows, character keys are normally handled differently depending on whether Scintilla is a wide
diff --git a/scintilla/doc/ScintillaDownload.html b/scintilla/doc/ScintillaDownload.html
index a5814a97..7e2cc595 100644
--- a/scintilla/doc/ScintillaDownload.html
+++ b/scintilla/doc/ScintillaDownload.html
@@ -25,9 +25,9 @@
-
+
Windows
-
+
GTK+/Linux
|
@@ -41,7 +41,7 @@
containing very few restrictions.
- Release 2.20
+ Release 2.21
Source Code
@@ -49,8 +49,8 @@
The source code package contains all of the source code for Scintilla but no binary
executable code and is available in
- - zip format (1160K) commonly used on Windows
- - tgz format (1080K) commonly used on Linux and compatible operating systems
+ - zip format (1160K) commonly used on Windows
+ - tgz format (1080K) 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 3741466b..036375c9 100644
--- a/scintilla/doc/ScintillaHistory.html
+++ b/scintilla/doc/ScintillaHistory.html
@@ -349,6 +349,7 @@
Xavi |
Toby Inkster |
Eric Forgeot |
+ Colomban Wendling |
@@ -360,6 +361,104 @@
Icons Copyright(C) 1998 by Dean S. Jones
+
+
+ -
+ Released 1 September 2010.
+
+ -
+ Asian Double Byte Character Set (DBCS) support improved.
+ Case insensitive search works and other operations are much faster.
+ Bug #2999125,
+ Bug #2774616,
+ Bug #2991942,
+ Bug #3005688.
+
+ -
+ Scintilla on GTK+ uses only non-deprecated APIs (for GTK+ 2.20) except for GdkFont and GdkFont use can be disabled
+ with the preprocessor symbol DISABLE_GDK_FONT.
+
+ -
+ IDocument interface used by lexers adds BufferPointer and GetLineIndentation methods.
+
+ -
+ On Windows, clicking sets focus before processing the click or sending notifications.
+
+ -
+ Bug on OS X (macosx platform) fixed where drag/drop overwrote clipboard.
+ Bug #3039732.
+
+ -
+ GTK+ drawing bug when the view was horizontally scrolled more than 32000 pixels fixed.
+
+ -
+ SciTE bug fixed with invoking Complete Symbol from output pane.
+ Bug #3050957.
+
+ -
+ Bug fixed where it was not possible to disable folding.
+ Bug #3040649.
+
+ -
+ Bug fixed with pressing Enter on a folded fold header line not opening the fold.
+ Bug #3043419.
+
+ -
+ SciTE 'Match case' option in find and replace user interfaces changed to 'Case sensitive' to allow use of 'v'
+ rather than 'c' as the mnemonic.
+
+ -
+ SciTE displays stack trace for Lua when error occurs..
+ Bug #3051397.
+
+ -
+ SciTE on Windows fixes bug where double clicking on error message left focus in output pane.
+ Bug #1264835.
+
+ -
+ SciTE on Windows uses SetDllDirectory to avoid a security problem.
+
+ -
+ C++ lexer crash fixed with preprocessor expression that looked like division by 0.
+ Bug #3056825.
+
+ -
+ Haskell lexer improved.
+ Feature #3039490.
+
+ -
+ HTML lexing fixed around Django {% %} tags.
+ Bug #3034853.
+
+ -
+ HTML JavaScript lexing fixed when line end escaped.
+ Bug #3038381.
+
+ -
+ HTML lexer stores line state produced by a line on that line rather than on the next line.
+
+ -
+ Markdown lexer fixes infinite loop.
+ Bug #3045386.
+
+ -
+ MySQL folding bugs with END statements fixed.
+ Bug #3031742.
+
+ -
+ PowerShell lexer allows '_' as a word character.
+ Feature #3042228.
+
+ -
+ SciTE on GTK+ abandons processing of subsequent commands if a command.go.needs command fails.
+
+ -
+ When SciTE is closed, all buffers now receive an OnClose call.
+ Bug #3033857.
+
+
diff --git a/scintilla/doc/index.html b/scintilla/doc/index.html
index 96d29582..49cd42cc 100644
--- a/scintilla/doc/index.html
+++ b/scintilla/doc/index.html
@@ -9,7 +9,7 @@
-
+