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. --- modules/textadept/editing.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'modules') diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index ee312df0..5556e110 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -266,11 +266,10 @@ function goto_line(line) local buffer = buffer if not line then line = - cocoa_dialog('standard-inputbox', { - title = locale.M_TEXTADEPT_EDITING_GOTO_TITLE, - text = locale.M_TEXTADEPT_EDITING_GOTO_TEXT, - ['no-newline'] = true - }) + textadept.dialog('standard-inputbox', + '--title', locale.M_TEXTADEPT_EDITING_GOTO_TITLE, + '--text', locale.M_TEXTADEPT_EDITING_GOTO_TEXT, + '--no-newline') line = tonumber(line:match('%-?%d+$')) if not line or line < 0 then return end end -- cgit v1.2.3