aboutsummaryrefslogtreecommitdiff
path: root/core/.textadept.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-02-10 10:02:06 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2009-02-10 10:02:06 -0500
commit59c9eb6528d1759bc2734150cb3d99ec2e3eab5b (patch)
treeac3acec9ffd7ec3835149ff79bca736f8e337f3f /core/.textadept.lua
parent5e83c949c15f75858e1602a6989c8c3d20753be3 (diff)
downloadtextadept-59c9eb6528d1759bc2734150cb3d99ec2e3eab5b.tar.gz
textadept-59c9eb6528d1759bc2734150cb3d99ec2e3eab5b.zip
Use a _type field for special _print() buffers' titles instead of 'Untitled'.
Diffstat (limited to 'core/.textadept.lua')
-rw-r--r--core/.textadept.lua4
1 files changed, 2 insertions, 2 deletions
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, ...)
---