aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-03-31 12:15:18 +1100
committernyamatongwe <devnull@localhost>2011-03-31 12:15:18 +1100
commit380dbd219595a377ac54df0d2a1591ecc1ecdc82 (patch)
tree9072051e173727c5c8844cf8ef0f071237fb685e
parentdc57082ad8337f252eed8dc6c45d1a143c86368f (diff)
downloadscintilla-mirror-380dbd219595a377ac54df0d2a1591ecc1ecdc82.tar.gz
Added note about change of range in Fold.
-rw-r--r--doc/ScintillaDoc.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index c12255e06..46e4bc1e0 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -79,7 +79,7 @@
<h1>Scintilla Documentation</h1>
- <p>Last edited 19/January/2011 NH</p>
+ <p>Last edited 31/March/2011 NH</p>
<p>There is <a class="jump" href="Design.html">an overview of the internal design of
Scintilla</a>.<br />
@@ -5509,6 +5509,11 @@ where it can be applied to each document. This avoids the costs of
constructing the system header information for each document. This is
invoked with the <code>SCI_PRIVATELEXERCALL</code> API.</p>
+<p><code>Fold</code> is called with the exact range that needs folding.
+Previously, lexers were called with a range that started one line before the range that
+needs to be folded as this allowed fixing up the last line from the previous folding.
+The new approach allows the lexer to decide whether to backtrack or to handle this
+more efficiently.</p>
<h4>IDocument</h4>