diff options
Diffstat (limited to 'doc/other/Lexer.txt')
-rw-r--r-- | doc/other/Lexer.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/other/Lexer.txt b/doc/other/Lexer.txt index 9d4ab50..3752994 100644 --- a/doc/other/Lexer.txt +++ b/doc/other/Lexer.txt @@ -129,7 +129,7 @@ using an encoding such as Shift-JIS. In these encodings, extended Lead bytes are rarely of any lexical significance, normally only being allowed within strings and comments. In such contexts, lexers should -ignore ch if styler.IsLeadByte(ch) returns TRUE. +ignore ch if styler.IsLeadByte(ch) returns true. Note: UTF-8 is simpler than Shift-JIS, so no special handling is applied for it. All UTF-8 extended characters are >= 128 and none are @@ -149,7 +149,7 @@ During initialization, lexers that support folding set bool fold = styler.GetPropertyInt("fold"); -If folding is enabled in the editor, fold will be TRUE and the lexer +If folding is enabled in the editor, fold will be true and the lexer should call: styler.SetLevel(line, level); |