diff options
author | nyamatongwe <devnull@localhost> | 2001-04-16 11:03:05 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-04-16 11:03:05 +0000 |
commit | 106179599c53a11344f17c1e802d12692b08c38c (patch) | |
tree | d7e9bb0e96e805827129a8915ddd88174140e977 | |
parent | 11d34b42449d6de08b88124e5542bd506018e2a1 (diff) | |
download | scintilla-mirror-106179599c53a11344f17c1e802d12692b08c38c.tar.gz |
Mention folder function.
-rw-r--r-- | doc/Lexer.txt | 6 |
1 files changed, 6 insertions, 0 deletions
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"); |