From a2e8cae16605c8304bc863cbb034cf4270907646 Mon Sep 17 00:00:00 2001 From: Thomas Aylott Date: Tue, 21 Apr 2009 23:59:43 -0400 Subject: [PATCH] always show a tooltip when asked to --- Support/lib/tm/complete.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Support/lib/tm/complete.rb b/Support/lib/tm/complete.rb index 3c22b84..546c5cb 100644 --- a/Support/lib/tm/complete.rb +++ b/Support/lib/tm/complete.rb @@ -59,8 +59,9 @@ module TextMate if choice result = choices[choice] end + result = {'tool_tip' => 'No information'} unless result - TextMate::UI.tool_tip( result['tool_tip'], {:format => result['tool_tip_format'] || :text }) if result + TextMate::UI.tool_tip( result['tool_tip'], {:format => result['tool_tip_format'] || :text }) end def choices