diff options
Diffstat (limited to 'core/ui.lua')
-rw-r--r-- | core/ui.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/ui.lua b/core/ui.lua index a5827cef..a19785c9 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -74,13 +74,11 @@ end -- buffer is already open in a view, the message is printed to that view. -- Otherwise the view is split (unless `ui.tabs` is `true`) and the message -- buffer is displayed before being printed to. --- At this time, `ui.print()` cannot be used until Textadept is fully --- initialized. (That is, not until `events.INITIALIZED` is emitted.) -- @param buffer_type String type of message buffer. -- @param ... Message strings. -- @usage ui._print(_L['[Message Buffer]'], message) -- @name _print -function ui._print(buffer_type, ...) pcall(_print, buffer_type, ...) end +function ui._print(buffer_type, ...) _print(buffer_type, ...) end --- -- Prints the given string messages to the message buffer. |