From ac79c739a06f452f9e6be267ef9109dee7265cac Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 31 Mar 2011 12:15:18 +1100 Subject: Added note about change of range in Fold. --- doc/ScintillaDoc.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 @@

Scintilla Documentation

-

Last edited 19/January/2011 NH

+

Last edited 31/March/2011 NH

There is an overview of the internal design of Scintilla.
@@ -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 SCI_PRIVATELEXERCALL API.

+

Fold 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.

IDocument

-- cgit v1.2.3