From 7e647657b0f95a4756b8aa714b0b3e4295272b81 Mon Sep 17 00:00:00 2001 From: mitchell Date: Mon, 3 Aug 2020 18:48:30 -0400 Subject: lexlua: Deprecated `lexer.fold_line_comments()` in favor of `lexer.fold_consecutive_lines()`. Also use `lexer.fold_line_groups` for option that enables this folding, avoiding name clash that plagued the previous option. Added "import" folding for Java. --- doc/LPegLexer.html | 27 +++++++++++++-------------- doc/ScintillaHistory.html | 8 ++++++++ 2 files changed, 21 insertions(+), 14 deletions(-) (limited to 'doc') diff --git a/doc/LPegLexer.html b/doc/LPegLexer.html index 2926ae13b..569b76925 100644 --- a/doc/LPegLexer.html +++ b/doc/LPegLexer.html @@ -1606,14 +1606,14 @@ operator 30 -

+

-

lexer.fold_line_comments (boolean)

+

lexer.fold_line_groups (boolean)

-

Whether or not to fold multiple, consecutive line comments and only show - the top-level comment. +

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

+ This is an alias for lexer.property['fold.line.groups'] = '1|0'.

@@ -1928,27 +1928,26 @@ operator 30 -

+

-

lexer.fold_line_comments (prefix)

+

lexer.fold_consecutive_lines (prefix)

-

Returns a fold function (to be passed to lexer.add_fold_point()) that folds - consecutive line comments that start with string prefix.

+

Returns for lexer.add_fold_point() the parameters needed to fold + consecutive lines that start with string prefix.

Parameters:

Usage:

diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 026a37c3d..8d090f5fa 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -603,6 +603,10 @@ Feature #1361.
  • + The curses platform's scintilla_get_clipboard() now returns a + copy of clipboard text directly. +
  • +
  • Fix translucent rectangle drawing on Qt. When drawing a translucent selection, there were edge artifacts as the calls used were drawing outlines over fill areas. Make bottom and right borders on INDIC_ROUNDBOX be same intensity as top and left. @@ -650,6 +654,10 @@ The Lua LPeg lexer for C now highlights C99 bool, true, and false.
  • + Fixed crashes in Lua LPeg lexer when "lexer.lua" cannot be found, and when + attempting to set styles for non-existant tokens. +
  • +
  • Fixed bug with GTK on recent Linux distributions where underscores were invisible. Bug #2173.
  • -- cgit v1.2.3