From 59c9eb6528d1759bc2734150cb3d99ec2e3eab5b Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 10 Feb 2009 10:02:06 -0500 Subject: Use a _type field for special _print() buffers' titles instead of 'Untitled'. --- core/.textadept.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/.textadept.lua') diff --git a/core/.textadept.lua b/core/.textadept.lua index 9e0375a7..d16d61ef 100644 --- a/core/.textadept.lua +++ b/core/.textadept.lua @@ -108,8 +108,8 @@ function check_focused_buffer(buffer) end -- buffer, and prints to it. -- @param buffer_type String type of message buffer. -- @param ... Message strings. --- @usage textadept._print('shows_errors', error_message) --- @usage textadept._print('shows_messages', message) +-- @usage textadept._print(textadept.locale.ERROR_BUFFER, error_message) +-- @usage textadept._print(textadept.locale.MESSAGE_BUFFER, message) function _print(buffer_type, ...) --- -- cgit v1.2.3