diff options
-rw-r--r-- | core/events.lua | 2 | ||||
-rw-r--r-- | core/ui.lua | 2 | ||||
-rw-r--r-- | modules/textadept/editing.lua | 2 | ||||
-rw-r--r-- | modules/textadept/run.lua | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/core/events.lua b/core/events.lua index cf9f637b..a377a4e8 100644 --- a/core/events.lua +++ b/core/events.lua @@ -243,7 +243,7 @@ local M = {} -- @field SAVE_POINT_REACHED (string) -- Emitted after reaching a save point. -- @field SUSPEND (string) --- Emitted when suspending Textadept. If a handler returns `true`, Textadept +-- Emitted when suspending Textadept. If any handler returns `true`, Textadept -- does not suspend. -- This event is only emitted by the terminal version. -- @field UPDATE_UI (string) diff --git a/core/ui.lua b/core/ui.lua index 6b6e91fc..efaa13f9 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -462,7 +462,7 @@ events_connect(events.ERROR, ui.print) --[[ The tables below were defined in C. --- --- A table of menus defining a menubar. +-- A table of menus defining a menubar. (Write-only). -- This is a low-level field. You probably want to use the higher-level -- `textadept.menu.menubar`. -- @see textadept.menu.menubar diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index f4d728d4..b2888238 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -211,7 +211,7 @@ if CURSES and not WIN32 then events.connect(events.QUIT, disable_bracketed_paste_mode) local reenable_autopair, reenable_autoindent - events.connect('csi', function(cmd, args) + events.connect(events.CSI, function(cmd, args) if cmd ~= string.byte('~') then return end if args[1] == 200 then reenable_autopair, M.AUTOPAIR = M.AUTOPAIR, false diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua index 04339648..196bd8db 100644 --- a/modules/textadept/run.lua +++ b/modules/textadept/run.lua @@ -7,6 +7,7 @@ local M = {} -- Compile and run source code files with Textadept. -- [Language modules](#_M.Compile.and.Run) may tweak the `compile_commands`, -- `run_commands`, and/or `error_patterns` tables for particular languages. +-- The user may tweak `build_commands` for particular projects. -- @field MARK_WARNING (number) -- The run or compile warning marker number. -- @field MARK_ERROR (number) |