aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/.view.luadoc
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-07-18 23:12:35 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-07-18 23:12:35 -0400
commit322e8af00ae62a42be1c6ca2a522c2ce6f5f418e (patch)
tree5d83a631f855930cdfa508f0985aab67e138db0f /core/.view.luadoc
parentb35a8dd225b06340022c4971471952c48380b1db (diff)
Updated to latest Scintilla for new `lexer.fold*` API.
This replaces the need for `view.property['fold*'] = ...`
Diffstat (limited to 'core/.view.luadoc')
-rw-r--r--core/.view.luadoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/.view.luadoc b/core/.view.luadoc
index f50ca046..ed3b3b81 100644
--- a/core/.view.luadoc
+++ b/core/.view.luadoc
@@ -1449,16 +1449,16 @@ function goto_buffer(view, buffer) end
---
-- Sets the view's color theme to be string *name*, with the contents of table
--- *options* available as global variables.
+-- *env* available as global variables.
-- User themes override Textadept's default themes when they have the same name.
-- If *name* contains slashes, it is assumed to be an absolute path to a theme
-- instead of a theme name.
-- @param view A view.
-- @param name The name or absolute path of a theme to set.
--- @param options Optional table of global variables themes can utilize to
--- override default settings such as font and size.
+-- @param env Optional table of global variables themes can utilize to override
+-- default settings such as font and size.
-- @usage view:set_theme('light', {font = 'Monospace', size = 12})
-- @name set_theme
-- @see _G.lexer.colors
-- @see _G.lexer.styles
-function set_theme(view, name, options) end
+function set_theme(view, name, env) end