[TxMt] Re: Toggle Quotes

Allan Odgaard mailinglist at textmate.org
Thu Jul 9 18:43:39 UTC 2009


On 8 Jul 2009, at 22:22, brad tittle wrote:

> [...] The Key Equivalent won't work if you have the quotes selected  
> though, or anything selected.


Yeah, 1.x uses the intersection of the scope to the left/right of the  
selection, it’s non-trivial exactly what the scope should be.

For example you may also fully select the double-quoted string and hit  
' to wrap it in single quotes. We disable the ' character as a paired  
character inside strings (for writing contractions) so had string.*  
been in the scope, this wouldn’t work.




More information about the textmate mailing list