aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-03-31 12:15:18 +1100
committernyamatongwe <unknown>2011-03-31 12:15:18 +1100
commitac79c739a06f452f9e6be267ef9109dee7265cac (patch)
treef0da3bf6bcd49b27e290da580b48024fa2b9626b
parentf3eb5b896d51ae3a771cc2d6eb01bc79aa6932db (diff)
downloadscintilla-mirror-ac79c739a06f452f9e6be267ef9109dee7265cac.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>