aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/lua/ta_api4
-rw-r--r--modules/lua/ta_tags4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/lua/ta_api b/modules/lua/ta_api
index 03fe8200..7dbfbf45 100644
--- a/modules/lua/ta_api
+++ b/modules/lua/ta_api
@@ -287,7 +287,7 @@ STYLE_KEYWORD lexer.STYLE_KEYWORD (string)\nThe style typically used for languag
STYLE_LABEL lexer.STYLE_LABEL (string)\nThe style typically used for labels.
STYLE_LINENUMBER lexer.STYLE_LINENUMBER (string)\nThe style used for all margins except fold margins.
STYLE_LINENUMBER view.STYLE_LINENUMBER (number, Read-only)\n
-STYLE_MAX buffer.STYLE_MAX (number, Read-only)\n
+STYLE_MAX view.STYLE_MAX (number, Read-only)\n
STYLE_NUMBER lexer.STYLE_NUMBER (string)\nThe style typically used for numbers.
STYLE_OPERATOR lexer.STYLE_OPERATOR (string)\nThe style typically used for operators.
STYLE_PREPROCESSOR lexer.STYLE_PREPROCESSOR (string)\nThe style typically used for preprocessor statements.
@@ -994,7 +994,7 @@ set_selection buffer.set_selection(buffer, end_pos, start_pos)\nSelects the rang
set_styling buffer.set_styling(buffer, length, style)\nAssigns style number *style*, in the range from `1` to `256`, to the next\n*length* characters, starting from the current styling position, and\nincrements the styling position by *length*.\n`buffer:start_styling` should be called before `buffer:set_styling()`.\n@param buffer A buffer.\n@param length The number of characters to style.\n@param style The style number to set.
set_target_range buffer.set_target_range(buffer, start_pos, end_pos)\nDefines the target range's beginning and end positions as *start_pos* and\n*end_pos*, respectively.\n@param buffer A buffer.\n@param start_pos The position of the beginning of the target range.\n@param end_pos The position of the end of the target range.
set_text buffer.set_text(buffer, text)\nReplaces the buffer's text with string *text*.\n@param buffer A buffer.\n@param text The text to set.
-set_theme buffer.set_theme(buffer, name, props)\nSets the buffer's color theme to be string *name* and (optionally) assigns\nthe properties contained in table *props*.\nUser themes override Textadept's default themes when they have the same name.\nIf *name* contains slashes, it is assumed to be an absolute path to a theme\ninstead of a theme name.\n@param buffer A buffer.\n@param name The name or absolute path of a theme to set.\n@param props Optional table of theme property assignments that override the\n theme's defaults.\n@usage buffer:set_theme('light', {font = 'Monospace', fontsize = 12})
+set_theme view.set_theme(view, name, props)\nSets the view's color theme to be string *name* and (optionally) assigns\nthe properties contained in table *props*.\nUser themes override Textadept's default themes when they have the same name.\nIf *name* contains slashes, it is assumed to be an absolute path to a theme\ninstead of a theme name.\n@param view A view.\n@param name The name or absolute path of a theme to set.\n@param props Optional table of theme property assignments that override the\n theme's defaults.\n@usage view:set_theme('light', {font = 'Monospace', fontsize = 12})
set_visible_policy view.set_visible_policy(view, policy, y)\nDefines scrolling policy bit-mask *policy* as the policy for keeping the\ncaret *y* number of lines away from the vertical margins as\n`view.ensure_visible_enforce_policy()` redisplays hidden or folded lines.\nIt is similar in operation to `view.set_y_caret_policy()`.\n@param view A view.\n@param policy The combination of `view.VISIBLE_SLOP` and\n `view.VISIBLE_STRICT` policy flags to set.\n@param y The number of lines from the vertical margins to keep the caret.
set_watch debugger.set_watch(expr)\nWatches string expression *expr* for changes and breaks on each change.\nEmits a `DEBUGGER_WATCH_ADDED` event if the debugger is running, or queues up\nthe event to run in `debugger.start()`.\nIf the debugger is executing (e.g. not at a breakpoint), assumes a watch\ncannot be set and shows an error message.\n@param expr String expression to watch.
set_whitespace_back view.set_whitespace_back(view, use_setting, color)\nOverrides the background color of whitespace with color *color*, in\n"0xBBGGRR" format, if *use_setting* is `true`.\n@param view A view.\n@param use_setting Whether or not to use *color*.\n@param color The color in "0xBBGGRR" format.
diff --git a/modules/lua/ta_tags b/modules/lua/ta_tags
index ecfc9b48..f3d45f84 100644
--- a/modules/lua/ta_tags
+++ b/modules/lua/ta_tags
@@ -287,7 +287,7 @@ STYLE_KEYWORD _HOME/lexers/lexer.lua /^module('lexer')]=]$/;" F class:lexer
STYLE_LABEL _HOME/lexers/lexer.lua /^module('lexer')]=]$/;" F class:lexer
STYLE_LINENUMBER _HOME/core/.view.luadoc /^module('view')$/;" F class:view
STYLE_LINENUMBER _HOME/lexers/lexer.lua /^module('lexer')]=]$/;" F class:lexer
-STYLE_MAX _HOME/core/.buffer.luadoc /^module('buffer')$/;" F class:buffer
+STYLE_MAX _HOME/core/.view.luadoc /^module('view')$/;" F class:view
STYLE_NUMBER _HOME/lexers/lexer.lua /^module('lexer')]=]$/;" F class:lexer
STYLE_OPERATOR _HOME/lexers/lexer.lua /^module('lexer')]=]$/;" F class:lexer
STYLE_PREPROCESSOR _HOME/lexers/lexer.lua /^module('lexer')]=]$/;" F class:lexer
@@ -1004,7 +1004,7 @@ set_selection _HOME/core/.buffer.luadoc /^function set_selection(buffer, end_pos
set_styling _HOME/core/.buffer.luadoc /^function set_styling(buffer, length, style) end$/;" f class:buffer
set_target_range _HOME/core/.buffer.luadoc /^function set_target_range(buffer, start_pos, end_pos) end$/;" f class:buffer
set_text _HOME/core/.buffer.luadoc /^function set_text(buffer, text) end$/;" f class:buffer
-set_theme _HOME/core/.buffer.luadoc /^function set_theme(buffer, name, props) end$/;" f class:buffer
+set_theme _HOME/core/.view.luadoc /^function set_theme(view, name, props) end$/;" f class:view
set_visible_policy _HOME/core/.view.luadoc /^function set_visible_policy(view, policy, y) end$/;" f class:view
set_watch _HOME/modules/debugger/init.lua /^function M.set_watch(expr)$/;" f class:debugger
set_whitespace_back _HOME/core/.view.luadoc /^function set_whitespace_back(view, use_setting, color) end$/;" f class:view