From a8e87e8efd47676ff0f04fbfba14be189b169ebb Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 8 Jul 2009 19:39:26 -0400 Subject: Replace lua_dialog with gcocoadialog. --- core/.textadept.lua | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'core/.textadept.lua') 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, ...) -- cgit v1.2.3