aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-03-20 21:34:16 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-03-20 21:34:16 -0400
commit2bb67ed5f4b61f80c8575b7bd335b4d764f67a3f (patch)
tree78126a4a7509656e928b79a6cfe3cd59aa47bc8d /modules
parent8a6f7682d5e1498c45425f2725c90bbbcc34054c (diff)
downloadtextadept-2bb67ed5f4b61f80c8575b7bd335b4d764f67a3f.tar.gz
textadept-2bb67ed5f4b61f80c8575b7bd335b4d764f67a3f.zip
Fixed bug with Adeptsense apidoc calltip; modules/textadept/adeptsense.lua
Diffstat (limited to 'modules')
-rw-r--r--modules/textadept/adeptsense.lua2
1 files changed, 1 insertions, 1 deletions
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