From 8aeb0e4b77a0f6905981df5f2d9c4622d55a12fb Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Wed, 15 Jul 2020 12:08:11 +1000 Subject: Feature [feature-requests:1368]. Add BraceMatchNext API. --- doc/ScintillaDoc.html | 5 +++++ doc/ScintillaHistory.html | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index f4dfb1e06..6128a6aa6 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -4006,6 +4006,7 @@ struct Sci_TextToFind { SCI_BRACEHIGHLIGHTINDICATOR(bool useSetting, int indicator)
SCI_BRACEBADLIGHTINDICATOR(bool useSetting, int indicator)
SCI_BRACEMATCH(position pos, int maxReStyle) → position
+ SCI_BRACEMATCHNEXT(position pos, position startPos) → position

SCI_BRACEHIGHLIGHT(position posA, position posB)
@@ -4041,6 +4042,10 @@ struct Sci_TextToFind { maxReStyle parameter must currently be 0 - it may be used in the future to limit the length of brace searches.

+

SCI_BRACEMATCHNEXT(position pos, position startPos) → position
+ Similar to SCI_BRACEMATCH, but matching starts at the explicit start position startPos + instead of the implicitly next position pos ± 1.

+

Tabs and Indentation Guides

Indentation (the white space at the start of a line) is often used by programmers to clarify diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index f0e2dcca6..1d3f2c115 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -589,6 +589,10 @@ Bug #2184.

  • + Add SCI_BRACEMATCHNEXT API. + Feature #1368. +
  • +
  • Round SCI_TEXTWIDTH instead of truncating as this may be more accurate when sizing application elements to match text. Feature #1355. -- cgit v1.2.3