[SVN] r2829 (Ruby)

Charilaos Skiadas cskiadas at uchicago.edu
Wed Mar 8 01:43:53 UTC 2006


On Mar 7, 2006, at 5:18 PM, Duane Johnson wrote:

> I don't know of a way to produce this pop-up selection effect  
> without requiring the use of the mouse (e.g. using CocoaDialog).

actually, the CocoaDialog popup is perfectly functional with the  
keyboard, no mouse required.
In any case, my problem was not with those commands, but with the  
millions of snippets in the bundle. The snippets don't appear in a  
popup, since they all have different tab triggers. All these (most of  
them) could be turned into a single command, which looks at the  
current word (i.e. the tab trigger) and then expands it according to  
a dictionary of values. This has the extra advantage that you can  
assign various "current words" to the same snippet, i.e.logger.info  
could be triggered by both logi and li, and similarly for the others.

Haris





More information about the textmate-dev mailing list