diff options
-rw-r--r-- | modules/lua/api | 1 | ||||
-rw-r--r-- | modules/lua/tags | 1 | ||||
-rwxr-xr-x | themes/dark/buffer.lua | 1 | ||||
-rwxr-xr-x | themes/light/buffer.lua | 1 | ||||
-rwxr-xr-x | themes/scite/buffer.lua | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/modules/lua/api b/modules/lua/api index e3f9ceec..c6326438 100644 --- a/modules/lua/api +++ b/modules/lua/api @@ -971,6 +971,7 @@ focused_doc_pointer gui.focused_doc_pointer [number]\nThe pointer to the documen fold lexer.fold(text, start_pos, start_line, start_level)\nFolds the given text. Called by LexLPeg.cxx; do not call from Lua. If the\ncurrent lexer has no _fold function, folding by indentation is performed if\nthe 'fold.by.indentation' property is set.\n@param text The document text to fold.\n@param start_pos The position in the document text starts at.\n@param start_line The line number text starts on.\n@param start_level The fold level text starts on.\n@return Table of fold levels.\n fold_expanded buffer.fold_expanded [bool]\nExpanded state of a header line.\n fold_level buffer.fold_level [table]\nTable of fold levels for lines starting from zero. Fold levels encodes an\ninteger level along witth flags indicating whether the line is a header and\nwhether it is effectively white space.\n * `_SCINTILLA.constants.SC_FOLDLEVELBASE` (0x400): Initial fold level.\n * `_SCINTILLA.constants.SC_FOLDLEVELWHITEFLAG` (0x1000): Indicates that\n the line is blank.\n * `_SCINTILLA.constants.SC_FOLDLEVELHEADERFLAG` (0x2000): Indicates\n that the line is a header (fold point).\n\n +fold_line_comments lexer.fold_line_comments(prefix)\nReturns a fold function that folds consecutive line comments. This function\nshould be used inside the lexer's `_foldsymbols` table.\n@param prefix The prefix string defining a line comment.\n@usage [l.COMMENT] = { ['--'] = l.fold_line_comments('--') }\n@usage [l.COMMENT] = { ['//'] = l.fold_line_comments('//') }\n fold_parent buffer.fold_parent [table]\nTable of parent line numbers for child lines starting from zero. -1 means\nno line was found. (Read-only)\n font_quality buffer.font_quality [number]\nThe quality level for text. (Windows only)\n * `_SCINTILLA.constants.SC_EFF_QUALITY_DEFAULt` (0).\n * `_SCINTILLA.constants.SC_EFF_QUALITY_NON_ANTIALIASED` (1).\n * `_SCINTILLA.constants.SC_EFF_QUALITY_ANTIALIASED` (2).\n * `_SCINTILLA.constants.SC_EFF_QUALITY_LCD_OPTIMIZED` (3).\n\n form_feed buffer.form_feed(buffer)\nInsert a Form Feed character.\n@param buffer The focused buffer.\n diff --git a/modules/lua/tags b/modules/lua/tags index cc7c406d..573b49f4 100644 --- a/modules/lua/tags +++ b/modules/lua/tags @@ -999,6 +999,7 @@ focused_doc_pointer _ 0;" F class:gui fold _ 0;" f class:lexer fold_expanded _ 0;" F class:buffer fold_level _ 0;" F class:buffer +fold_line_comments _ 0;" f class:lexer fold_parent _ 0;" F class:buffer font_quality _ 0;" F class:buffer form_feed _ 0;" f class:buffer diff --git a/themes/dark/buffer.lua b/themes/dark/buffer.lua index e4fee499..70d80751 100755 --- a/themes/dark/buffer.lua +++ b/themes/dark/buffer.lua @@ -6,6 +6,7 @@ local buffer = buffer -- Folding. buffer.property['fold'] = '1' buffer.property['fold.by.indentation'] = '1' +buffer.property['fold.line.comments'] = '0' -- Tabs and Indentation. buffer.tab_width = 2 diff --git a/themes/light/buffer.lua b/themes/light/buffer.lua index 29ed26d2..6d4a311a 100755 --- a/themes/light/buffer.lua +++ b/themes/light/buffer.lua @@ -6,6 +6,7 @@ local buffer = buffer -- Folding. buffer.property['fold'] = '1' buffer.property['fold.by.indentation'] = '1' +buffer.property['fold.line.comments'] = '0' -- Tabs and Indentation. buffer.tab_width = 2 diff --git a/themes/scite/buffer.lua b/themes/scite/buffer.lua index bfc13b06..d6c5ba5d 100755 --- a/themes/scite/buffer.lua +++ b/themes/scite/buffer.lua @@ -6,6 +6,7 @@ local buffer = buffer -- Folding. buffer.property['fold'] = '1' buffer.property['fold.by.indentation'] = '1' +buffer.property['fold.line.comments'] = '0' -- Tabs and Indentation. buffer.tab_width = 2 |