[TxMt] Re: Dynamic scopes
Allan Odgaard
throw-away-1 at macromates.com
Fri Feb 17 15:28:19 UTC 2006
On 16/2/2006, at 10:20, Christopher Creutzig wrote:
>> So shortly put: dynamic scopes are a way for TextMate to expose
>> various context dependent state variables in a way that should allow
>> bundle items to use them.
> Do I understand correctly that this would allow me to highlight local
> variables differently than global ones, for languages where one or the
> other must be explicitly declared? That would be very welcome.
By “state variables” I refer to the internal variables of TextMate
which describe state. For example the TextMate source might have a
variable which tell whether or not the caret is inside a snippet
placeholder.
So it has nothing to do with variables declared in your source code.
More information about the textmate
mailing list