aboutsummaryrefslogtreecommitdiff
path: root/core/gui.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-12-01 18:40:57 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2012-12-01 18:40:57 -0500
commitcd5994c518513a5adca92bdc14b6d721b95310ac (patch)
tree24a0553c91332a35788bc12ac57336b829e8fa07 /core/gui.lua
parent6693478c076f4d58b709ac9deba809cd9d84a6ee (diff)
downloadtextadept-cd5994c518513a5adca92bdc14b6d721b95310ac.tar.gz
textadept-cd5994c518513a5adca92bdc14b6d721b95310ac.zip
Updated parameter LuaDoc.
Diffstat (limited to 'core/gui.lua')
-rw-r--r--core/gui.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/gui.lua b/core/gui.lua
index 9d86f8f8..6f4b27a8 100644
--- a/core/gui.lua
+++ b/core/gui.lua
@@ -131,8 +131,8 @@ end
-- split view if there is only one view. The default value is `false`.
-- @param preferred_view Optional view to open the desired buffer in if the
-- buffer is not visible in any other view.
--- @param sloppy Optional flag indicating whether or not to not match `filename`
--- to `buffer.filename` exactly. When `true`, matches `filename` to only the
+-- @param sloppy Optional flag indicating whether or not to not match *filename*
+-- to `buffer.filename` exactly. When `true`, matches *filename* to only the
-- last part of `buffer.filename` This is useful for run and compile commands
-- which output relative filenames and paths instead of full ones and it is
-- likely that the file in question is already open. The default value is
@@ -166,8 +166,8 @@ local THEME
-- instead of a theme name. An error is thrown if the theme is not found. Any
-- errors in the theme are printed to `io.stderr`. Running Textadept from a
-- terminal is the easiest way to see errors as they occur.
--- @param name Optional name or absolute path of a theme. If `nil`, sets the
--- default platform theme.
+-- @param name Optional name or absolute path of a theme to set. If `nil`, sets
+-- the default platform theme.
-- @name set_theme
function gui.set_theme(name)
if not name then
@@ -483,7 +483,7 @@ local get_split_table
-- Emits `VIEW_BEFORE_SWITCH` and `VIEW_AFTER_SWITCH` events.
-- @param n A relative or absolute view index in `_G._VIEWS`.
-- @param relative Optional flag indicating whether *n* is a relative or
--- absolute index. The default value is `false` for an absolute index.
+-- absolute index. The default value is `false`, for an absolute index.
-- @see _G._G._VIEWS
-- @see events.VIEW_BEFORE_SWITCH
-- @see events.VIEW_AFTER_SWITCH