Adding a couple options to UI.complete:

  :key_pressed => '\' causes UI.complete to insert a '\' before bringing up the 
popup.  If you then bind the command to “\” the popup will appear 
automatically, and the character isn't eaten either!
  :dont_return_choice keeps the “--returnChoice” option from being passed to 
$DIALOG popup.  I'm not sure what that option did but it was preventing DIALOG 
from inserting the snippet.
  
Also, don't set --alreadyTyped unless options[:initial_filter] is set.

Changed:
U   trunk/Support/lib/ui.rb
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to