[SVN] r11772 (Support/lib)

Alex Ross alex.j.ross at gmail.com
Wed Oct 7 11:03:25 UTC 2009


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



More information about the textmate-dev mailing list