[TxMt] New Trigger for <%= %> in Ruby ???

James Edward Gray II james at grayproductions.net
Wed Nov 1 14:22:53 UTC 2006


On Nov 1, 2006, at 6:48 AM, John Tsombakos wrote:

> Setting a document to "Ruby" or "HTML (Rails)", I tried the new  
> trigger. ^> does give <%= %>, but typing a Tab just inserts a tab.  
> I don't see how
> to get just a <% %> block?

We're still working out the bugs with this approach, so be patient  
with us.  We ditched the tab idea.  The system is now:

⌃>    = <%=  %>
⌃> ⌃> = <%  %>

Allan will edit the commit message to reflect this for the next release.

The problem you ran into when testing it was a bug in my  
implementation.  I just committed a fix, so give it another shot.

James Edward Gray II


More information about the textmate mailing list