From 86ea01e60bfb452e274f0f8340bdbbea8db6ffd0 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 15 Jun 2016 08:50:54 -0400 Subject: Renamed `ui.SILENT_PRINT` to `ui.silent_print`. --- modules/textadept/find.lua | 2 +- modules/textadept/run.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') 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 -- cgit v1.2.3