aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2015-01-22 16:16:31 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2015-01-22 16:16:31 -0500
commit2eef170741c3ddcc4528b26b6f08750f00149bad (patch)
treef9fa1cc9591dad377ccda137211deef13324b31a /modules/textadept
parent3f75097ce48896a583fdce6df819135b98e1585f (diff)
downloadtextadept-2eef170741c3ddcc4528b26b6f08750f00149bad.tar.gz
textadept-2eef170741c3ddcc4528b26b6f08750f00149bad.zip
Small code and documentation cleanup.
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/editing.lua2
-rw-r--r--modules/textadept/run.lua1
2 files changed, 2 insertions, 1 deletions
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)