aboutsummaryrefslogtreecommitdiffhomepage
path: root/core
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2016-06-25 15:46:22 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2016-06-25 15:46:22 -0400
commit26f4d7930a68a7b14910fb6aed83f7db44bcf0e7 (patch)
tree080d35c1b04af0b3796a8d14b42dfc1d58624ad9 /core
parent8204123d1f799ae4ffdc378ce1f53537351f7e5f (diff)
Small code and documentation cleanup.
Diffstat (limited to 'core')
-rw-r--r--core/events.lua6
-rw-r--r--core/init.lua4
2 files changed, 5 insertions, 5 deletions
diff --git a/core/events.lua b/core/events.lua
index 0569b09a..9d84a48c 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -117,7 +117,7 @@ local M = {}
--
-- * _`text`_: The error message text.
-- @field FIND (string)
--- Emitted in order to find text via the Find & Replace Pane.
+-- Emitted to find text via the Find & Replace Pane.
-- Arguments:
--
-- * _`text`_: The text to search for.
@@ -191,7 +191,7 @@ local M = {}
-- procedure.
-- Emitted by [`quit()`]().
-- @field REPLACE (string)
--- Emitted in order to replace selected (found) text.
+-- Emitted to replace selected (found) text.
-- Arguments:
--
-- * _`text`_: The replacement text.
@@ -227,7 +227,7 @@ local M = {}
-- + `buffer.UPDATE_CONTENT`
-- Buffer contents, styling, or markers have changed.
-- + `buffer.UPDATE_SELECTION`
--- Buffer selection has changed.
+-- Buffer selection has changed (including caret movement).
-- + `buffer.UPDATE_V_SCROLL`
-- Buffer has scrolled vertically.
-- + `buffer.UPDATE_H_SCROLL`
diff --git a/core/init.lua b/core/init.lua
index 779dfab9..c05d6404 100644
--- a/core/init.lua
+++ b/core/init.lua
@@ -132,13 +132,13 @@ local view
local quit
---
--- Resets the Lua state by reloading all initialization scripts.
+-- Resets the Lua State by reloading all initialization scripts.
-- Language modules for opened files are NOT reloaded. Re-opening the files that
-- use them will reload those modules instead.
-- This function is useful for modifying user scripts (such as
-- *~/.textadept/init.lua* and *~/.textadept/modules/textadept/keys.lua*) on
-- the fly without having to restart Textadept. `arg` is set to `nil` when
--- reinitializing the Lua state. Any scripts that need to differentiate between
+-- reinitializing the Lua State. Any scripts that need to differentiate between
-- startup and reset can test `arg`.
-- @class function
-- @name reset