From 2bb67ed5f4b61f80c8575b7bd335b4d764f67a3f Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 20 Mar 2011 21:34:16 -0400 Subject: Fixed bug with Adeptsense apidoc calltip; modules/textadept/adeptsense.lua --- modules/textadept/adeptsense.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/textadept/adeptsense.lua b/modules/textadept/adeptsense.lua index 95de505e..bf6439dc 100644 --- a/modules/textadept/adeptsense.lua +++ b/modules/textadept/adeptsense.lua @@ -605,7 +605,7 @@ function show_apidoc(sense) buffer:call_tip_show(buffer.current_pos, apidocs[apidocs.pos]) end) _G.timeout(1, function() - if buffer:call_tip_active() then return true end + if pcall(buffer.call_tip_active, buffer) then return true end events.disconnect('call_tip_click', event_id) end) return true -- cgit v1.2.3