From 59c07a16e6bfec078dbc4e35093a6d102b4c7805 Mon Sep 17 00:00:00 2001 From: Rainer Kottenhoff Date: Wed, 3 Oct 2018 14:43:17 +0200 Subject: [PATCH 1/2] + upd: to Scintilla library v4.1.2 --- scintilla/doc/ScintillaDoc.html | 6 +- scintilla/doc/ScintillaDownload.html | 10 +- scintilla/doc/ScintillaHistory.html | 5 +- scintilla/doc/index.html | 7 +- scintilla/include/Scintilla.iface | 2 +- scintilla/src/Editor.cxx | 146 ++++++++++++++------------- scintilla/src/PositionCache.cxx | 5 +- scintilla/version.txt | 2 +- 8 files changed, 94 insertions(+), 89 deletions(-) diff --git a/scintilla/doc/ScintillaDoc.html b/scintilla/doc/ScintillaDoc.html index f789e6a0e..ee78740e0 100644 --- a/scintilla/doc/ScintillaDoc.html +++ b/scintilla/doc/ScintillaDoc.html @@ -1537,7 +1537,7 @@

By character or UTF-16 code unit

SCI_ALLOCATELINECHARACTERINDEX(int lineCharacterIndex)
SCI_RELEASELINECHARACTERINDEX(int lineCharacterIndex)
SCI_LINEFROMINDEXPOSITION(int pos, int lineCharacterIndex) → int
- SCI_INDEXPOSITIONFROMLINE(int line, int lineCharacterIndex) → int
+ SCI_INDEXPOSITIONFROMLINE(int line, int lineCharacterIndex) → position

SCI_POSITIONRELATIVE(int pos, int relative) → position
@@ -1549,7 +1549,7 @@

By character or UTF-16 code unit

SCI_COUNTCHARACTERS(int start, int end) → int
Returns the number of whole characters between two positions.

-

SCI_POSITIONRELATIVECODEUNITS(int pos, int relative) → int
+

SCI_POSITIONRELATIVECODEUNITS(int pos, int relative) → position
SCI_COUNTCODEUNITS(int start, int end) → int
These are the UTF-16 versions of SCI_POSITIONRELATIVE and SCI_COUNTCHARACTERS working in terms of UTF-16 code units.

@@ -1569,7 +1569,7 @@

By character or UTF-16 code unit

Only one index of each type is created for a document at a time.

SCI_LINEFROMINDEXPOSITION(int pos, int lineCharacterIndex) → int
- SCI_INDEXPOSITIONFROMLINE(int line, int lineCharacterIndex) → int
+ SCI_INDEXPOSITIONFROMLINE(int line, int lineCharacterIndex) → position
The document line of a particular character or code unit may be found by calling SCI_LINEFROMINDEXPOSITION with one of SC_LINECHARACTERINDEX_UTF32(1) or SC_LINECHARACTERINDEX_UTF16(2). The inverse action, finds the starting position of a document line either in characters or code units from the document start by calling diff --git a/scintilla/doc/ScintillaDownload.html b/scintilla/doc/ScintillaDownload.html index a6a768913..971aae2e0 100644 --- a/scintilla/doc/ScintillaDownload.html +++ b/scintilla/doc/ScintillaDownload.html @@ -26,9 +26,9 @@ @@ -42,7 +42,7 @@

containing very few restrictions.

- Release 4.1.1 + Release 4.1.2

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 2654c0619..236dbb107 100644 --- a/scintilla/doc/ScintillaHistory.html +++ b/scintilla/doc/ScintillaHistory.html @@ -552,7 +552,7 @@

diff --git a/scintilla/doc/index.html b/scintilla/doc/index.html index e6c6466b3..47dc10c15 100644 --- a/scintilla/doc/index.html +++ b/scintilla/doc/index.html @@ -9,7 +9,7 @@ - +
- + Windows   - + GTK+/Linux