aboutsummaryrefslogtreecommitdiff
path: root/core/.textadept.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-07-08 19:39:26 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2009-07-08 19:39:26 -0400
commita8e87e8efd47676ff0f04fbfba14be189b169ebb (patch)
treee04ec88b6ad70d43b39e0c2700a86affc316fa88 /core/.textadept.lua
parent9827462bc8ac4ecc6009f2285c2397bf6ff64777 (diff)
downloadtextadept-a8e87e8efd47676ff0f04fbfba14be189b169ebb.tar.gz
textadept-a8e87e8efd47676ff0f04fbfba14be189b169ebb.zip
Replace lua_dialog with gcocoadialog.
Diffstat (limited to 'core/.textadept.lua')
-rw-r--r--core/.textadept.lua12
1 files changed, 4 insertions, 8 deletions
diff --git a/core/.textadept.lua b/core/.textadept.lua
index 0f2b02d9..d0247f60 100644
--- a/core/.textadept.lua
+++ b/core/.textadept.lua
@@ -119,14 +119,10 @@ function _print(buffer_type, ...)
-- Prints messages to the Textadept message buffer.
-- Opens a new buffer (if one hasn't already been opened) for printing messages.
-- @param ... Message strings.
-function textadept.print(...) end
+function print(...) end
---
--- Displays a CocoaDialog of a specified type with given arguments returning
--- the result.
--- @param kind The CocoaDialog type.
--- @param opts A table of key, value arguments. Each key is a --key switch with
--- a "value" value. If value is nil, it is omitted and just the switch is
--- used.
+-- Displays a CocoaDialog of a specified type with the given string arguments.
+-- Each argument is like a string in Lua's 'arg' table.
-- @return string CocoaDialog result.
-function cocoa_dialog(kind, opts)
+function dialog(kind, ...)