[TxMt] Re: Code folding questions
Fabian Zeindl
fabian.zeindl at gmail.com
Mon Aug 22 08:50:25 UTC 2016
> On 22.08.2016, at 08:05 , Allan Odgaard <mailinglist at textmate.org> wrote:
>
> Though I took a quick look, and it seems surprisingly complex, and it even reads the selection or document (when there is no selection) in TextMate’s XML format (which include scope info). I am not sure why this is necessary.
That's what I want to avoid.
> For actually overloading return and backspace in these locations, this is possible if you make the grammar match them and assign a scope at the desired locations, but I think it would be better with a toggle key like the Ruby bundle.
I thought about overloading Cmd+Return anywhere inside the parentheses, but I'd need a selector for this first. Best would be If I could get the "match enclosing pairs" as a command input.
More information about the textmate
mailing list