From 2eef170741c3ddcc4528b26b6f08750f00149bad Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 22 Jan 2015 16:16:31 -0500 Subject: Small code and documentation cleanup. --- modules/textadept/editing.lua | 2 +- modules/textadept/run.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/textadept') 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) -- cgit v1.2.3