[TxMt] Request: Matching scopes.
Allan Odgaard
throw-away-1 at macromates.com
Mon Jan 23 02:17:27 UTC 2006
On 22/1/2006, at 21:13, Mikael Säker wrote:
> [,,,] How about making the pattern matching engine scope-aware, so
> that I can match beginning and end of scope? I believe having that
> would make it a breeze to get indentation to work okay with Scheme,
> just make a preference tied to scope "expression.scheme" and tell
> it to increase indentation at the beginning ot the scope and
> decrease it at the end. Each nested scope would then automatically
> add an indentation-level, which is what is needed to indent right.
> (And while I'm at it, to be able to set folding at the beginning
> and end of scopes would also be awesome... :))
While I am unlikely to add this in its raw form, I will keep the
suggestion in mind, as coupling scopes with folding patterns, and/or
regular expressions (and maybe indent) is something I have a vague
idea about could work out really well.
More information about the textmate
mailing list