diff options
author | 2016-06-15 08:50:54 -0400 | |
---|---|---|
committer | 2016-06-15 08:50:54 -0400 | |
commit | 86ea01e60bfb452e274f0f8340bdbbea8db6ffd0 (patch) | |
tree | aa51d5cb933dfe86c1c96fd777c24e105ca08725 /modules/textadept | |
parent | a83a1d95ebbdfc62f848f813089002a274806e2f (diff) | |
download | textadept-86ea01e60bfb452e274f0f8340bdbbea8db6ffd0.tar.gz textadept-86ea01e60bfb452e274f0f8340bdbbea8db6ffd0.zip |
Renamed `ui.SILENT_PRINT` to `ui.silent_print`.
Diffstat (limited to 'modules/textadept')
-rw-r--r-- | modules/textadept/find.lua | 2 | ||||
-rw-r--r-- | modules/textadept/run.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua index 9689b025..2b88b3c7 100644 --- a/modules/textadept/find.lua +++ b/modules/textadept/find.lua @@ -264,7 +264,7 @@ function M.find_in_files(dir) if M.whole_word then text = '%f[%w_]'..text..'%f[^%w_]' end -- TODO: wordchars if buffer._type ~= _L['[Files Found Buffer]'] then preferred_view = view end - ui.SILENT_PRINT = false + ui.silent_print = false ui._print(_L['[Files Found Buffer]'], _L['Find:']..' '..text) buffer.indicator_current = M.INDIC_FIND diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua index 837de06a..fa49d746 100644 --- a/modules/textadept/run.lua +++ b/modules/textadept/run.lua @@ -131,9 +131,9 @@ local function run_command(commands, event) preferred_view = view local function emit_output(output, focus) - ui.SILENT_PRINT = not focus + ui.silent_print = not focus for line in output:gmatch('[^\r\n]+') do events.emit(event, data, line) end - ui.SILENT_PRINT = false + ui.silent_print = false end local function emit_status(status) emit_output('> exit status: '..status) end |