aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorZufu Liu <unknown>2020-07-15 12:08:11 +1000
committerZufu Liu <unknown>2020-07-15 12:08:11 +1000
commitc47a76507f5bfd812604504d3b0246fa45be799e (patch)
tree9beede23572858a217ff61c2c258d81de78b2597 /doc
parentb46f4cdda3df7c26dc6cc1c55173c3a1559b20f2 (diff)
downloadscintilla-mirror-c47a76507f5bfd812604504d3b0246fa45be799e.tar.gz
Backport: Feature [feature-requests:1368]. Add BraceMatchNext API.
Backport of changeset 8406:a2ce85a55dfa.
Diffstat (limited to 'doc')
-rw-r--r--doc/ScintillaDoc.html5
-rw-r--r--doc/ScintillaHistory.html4
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index ece36a4e2..1a07a4032 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -3951,6 +3951,7 @@ struct Sci_TextToFind {
<a class="message" href="#SCI_BRACEHIGHLIGHTINDICATOR">SCI_BRACEHIGHLIGHTINDICATOR(bool useSetting, int indicator)</a><br />
<a class="message" href="#SCI_BRACEBADLIGHTINDICATOR">SCI_BRACEBADLIGHTINDICATOR(bool useSetting, int indicator)</a><br />
<a class="message" href="#SCI_BRACEMATCH">SCI_BRACEMATCH(position pos, int maxReStyle) &rarr; position</a><br />
+ <a class="message" href="#SCI_BRACEMATCHNEXT">SCI_BRACEMATCHNEXT(position pos, position startPos) &rarr; position</a><br />
</code>
<p><b id="SCI_BRACEHIGHLIGHT">SCI_BRACEHIGHLIGHT(position posA, position posB)</b><br />
@@ -3986,6 +3987,10 @@ struct Sci_TextToFind {
<code class="parameter">maxReStyle</code> parameter must currently be 0 - it may be used in the future to limit
the length of brace searches.</p>
+ <p><b id="SCI_BRACEMATCHNEXT">SCI_BRACEMATCHNEXT(position pos, position startPos) &rarr; position</b><br />
+ Similar to <code>SCI_BRACEMATCH</code>, but matching starts at the explicit start position <code>startPos</code>
+ instead of the implicitly next position <code>pos &plusmn; 1</code>.</p>
+
<h2 id="TabsAndIndentationGuides">Tabs and Indentation Guides</h2>
<p>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 a3dea460e..c7d4322fc 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -586,6 +586,10 @@
<a href="https://sourceforge.net/p/scintilla/bugs/2141/">Bug #2141</a>.
</li>
<li>
+ Add SCI_BRACEMATCHNEXT API.
+ <a href="https://sourceforge.net/p/scintilla/feature-requests/1368/">Feature #1368</a>.
+ </li>
+ <li>
Round SCI_TEXTWIDTH instead of truncating as this may be more accurate when sizing application
elements to match text.
<a href="https://sourceforge.net/p/scintilla/feature-requests/1355/">Feature #1355</a>.