diff options
author | 2011-03-20 21:34:16 -0400 | |
---|---|---|
committer | 2011-03-20 21:34:16 -0400 | |
commit | 2bb67ed5f4b61f80c8575b7bd335b4d764f67a3f (patch) | |
tree | 78126a4a7509656e928b79a6cfe3cd59aa47bc8d | |
parent | 8a6f7682d5e1498c45425f2725c90bbbcc34054c (diff) | |
download | textadept-2bb67ed5f4b61f80c8575b7bd335b4d764f67a3f.tar.gz textadept-2bb67ed5f4b61f80c8575b7bd335b4d764f67a3f.zip |
Fixed bug with Adeptsense apidoc calltip; modules/textadept/adeptsense.lua
-rw-r--r-- | modules/textadept/adeptsense.lua | 2 |
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 |