[TxMt] Language grammar question - how does newline get inserted when you type "{\r}" ?

Charilaos Skiadas cskiadas at uchicago.edu
Sat Feb 18 05:20:15 UTC 2006


On Feb 17, 2006, at 9:26 PM, Allan Odgaard wrote:

> The current Io bundle does this. For the records though, the way it  
> is achieved is by having the language grammar match empty  
> parenthesis and have it assign a scope name to that construct (for  
> example meta.empty-parenthesis.io).

But the same effect with curly braces instead of parentheses does not  
need any extra stuff like that, does it? How is that done, and why  
can't we use the same for parens?

Haris





More information about the textmate mailing list