From 9a66cc374298d15cbe6916fd7acb5f682e532347 Mon Sep 17 00:00:00 2001 From: mitchell Date: Sat, 18 Jul 2020 20:49:26 -0400 Subject: lexlua: Alias `lexer.fold*` to `lexer.property['fold*']`. This makes things simpler for applications that supply a Lua state; they do not have to manipulate property sets. --- doc/LPegLexer.html | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'doc/LPegLexer.html') diff --git a/doc/LPegLexer.html b/doc/LPegLexer.html index 22546537b..a9ecbbf72 100644 --- a/doc/LPegLexer.html +++ b/doc/LPegLexer.html @@ -1570,6 +1570,24 @@ operator 30

A pattern that matches a floating point number.

+

+ +

lexer.fold_by_indentation (boolean)

+ +

Whether or not to fold based on indentation level if a lexer does not have + a folder. + Some lexers automatically enable this option. It is disabled by default. + This is an alias for lexer.property['fold.by.indentation'] = '1|0'.

+ +

+ +

lexer.fold_compact (boolean)

+ +

Whether or not blank lines after an ending fold point are included in that + fold. + This option is disabled by default. + This is an alias for lexer.property['fold.compact'] = '1|0'.

+

lexer.fold_level (table, Read-only)

@@ -1588,6 +1606,33 @@ operator 30 +

+ +

lexer.fold_line_comments (boolean)

+ +

Whether or not to fold multiple, consecutive line comments and only show + the top-level comment. + This option is disabled by default. + This is an alias for lexer.property['fold.line.comments'] = '1|0'.

+ +

+ +

lexer.fold_on_zero_sum_lines (boolean)

+ +

Whether or not to mark as a fold point lines that contain both an ending + and starting fold point. For example, } else { would be marked as a fold + point. + This option is disabled by default. + This is an alias for lexer.property['fold.on.zero.sum.lines'] = '1|0'.

+ +

+ +

lexer.folding (boolean)

+ +

Whether or not folding is enabled. + This option is disabled by default. + This is an alias for lexer.property['fold'] = '1|0'.

+

lexer.graph (pattern)

-- cgit v1.2.3