From e588dd5a5d802050f6d252995bc0f76731a36d29 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 16 Apr 2001 11:03:05 +0000 Subject: Mention folder function. --- doc/Lexer.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/Lexer.txt b/doc/Lexer.txt index 247eb1beb..f66c5aacf 100644 --- a/doc/Lexer.txt +++ b/doc/Lexer.txt @@ -139,6 +139,12 @@ characters in ASCII for operators, comment markers, etc. Special case: Folding +Folding may be performed in the lexer function. It is better to use a +separate folder function as that avoids some troublesome interaction +between styling and folding. The folder function will be run after the +lexer function if folding is enabled. The rest of this section explains +how to perform folding within the lexer fucntion. + During initialization, lexers that support folding set bool fold = styler.GetPropertyInt("fold"); -- cgit v1.2.3