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 @@ @@ -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 @@

+
- + Windows   - + GTK+/Linux   Xavi Toby Inkster Eric ForgeotColomban Wendling

@@ -360,6 +361,104 @@ Icons Copyright(C) 1998 by Dean S. Jones
+

+ Release 2.21 +

+

Release 2.20

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 @@ - +