diff options
author | 2020-08-22 16:34:47 -0400 | |
---|---|---|
committer | 2020-08-22 16:34:47 -0400 | |
commit | 2835799ac0581f667c9ef9b66fe2b155a5348ae5 (patch) | |
tree | 7405670a30895c5a81c64c315fbe5040b7d4e147 /modules/textadept/run.lua | |
parent | d9ae118774a156b5d8ed2f1f2747c65bca0ce76a (diff) | |
download | textadept-2835799ac0581f667c9ef9b66fe2b155a5348ae5.tar.gz textadept-2835799ac0581f667c9ef9b66fe2b155a5348ae5.zip |
Added `ui.command_entry.active` and fixed bugs in `events.KEYPRESS` handlers.
Diffstat (limited to 'modules/textadept/run.lua')
-rw-r--r-- | modules/textadept/run.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua index d76ae030..ffccc7e7 100644 --- a/modules/textadept/run.lua +++ b/modules/textadept/run.lua @@ -90,11 +90,11 @@ local function scan_for_error(message, ext_or_lexer) end detail.warning = message:lower():find('warning') and not message:lower():find('error') - -- Compile and run commands specify the file extension or lexer name used - -- to determine the command, so the error patterns used are guaranteed to + -- Compile and run commands specify the file extension or lexer name used + -- to determine the command, so the error patterns used are guaranteed to -- be correct. Build commands have no such context and instead iterate -- through all possible error patterns. Only consider the error/warning - -- valid if the extracted filename's extension or lexer name matches the + -- valid if the extracted filename's extension or lexer name matches the -- error pattern's extension or lexer name. if ext_or_lexer then return detail end local ext = detail.filename:match('[^/\\.]+$') |