diff options
author | 2016-06-15 08:50:54 -0400 | |
---|---|---|
committer | 2016-06-15 08:50:54 -0400 | |
commit | 86ea01e60bfb452e274f0f8340bdbbea8db6ffd0 (patch) | |
tree | aa51d5cb933dfe86c1c96fd777c24e105ca08725 /core/ui.lua | |
parent | a83a1d95ebbdfc62f848f813089002a274806e2f (diff) | |
download | textadept-86ea01e60bfb452e274f0f8340bdbbea8db6ffd0.tar.gz textadept-86ea01e60bfb452e274f0f8340bdbbea8db6ffd0.zip |
Renamed `ui.SILENT_PRINT` to `ui.silent_print`.
Diffstat (limited to 'core/ui.lua')
-rw-r--r-- | core/ui.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/ui.lua b/core/ui.lua index 3c74923e..a529c4a4 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -26,7 +26,7 @@ local ui = ui -- @field tabs (bool) -- Whether or not to display the tab bar when multiple buffers are open. -- The default value is `true`. --- @field SILENT_PRINT (bool) +-- @field silent_print (bool) -- Whether or not to print messages to buffers silently. -- This is not guaranteed to be a constant value, as Textadept may change it -- for the editor's own purposes. This flag should be used only in conjunction @@ -35,7 +35,7 @@ local ui = ui -- to them. module('ui')]] -ui.SILENT_PRINT = false +ui.silent_print = false local theme = package.searchpath(not CURSES and 'light' or 'term', _USERHOME..'/themes/?.lua;'.. @@ -57,7 +57,7 @@ local function _print(buffer_type, ...) print_buffer = buffer.new() print_buffer._type = buffer_type events.emit(events.FILE_OPENED) - elseif not ui.SILENT_PRINT then + elseif not ui.silent_print then for i = 1, #_VIEWS do if _VIEWS[i].buffer._type == buffer_type then ui.goto_view(i) break end end |