[TxMt] Re: Theme settings explanation

Umberto Cerrato umbertocerrato at outlook.it
Mon Aug 26 09:50:06 UTC 2019


Hi,

> Il giorno 26 ago 2019, alle ore 10:20, Allan Odgaard <mailinglist at textmate.org> ha scritto:
> 
> On 23 Aug 2019, at 20:33, Umberto Cerrato wrote:
> 
> About the fact that these fields are more for other bundle items: you are right, those settings are quite always there, but I think they have to have a functionality. Otherwise why not removing them? (e.g. Language Grammars has different/more fields. (Although those one are always there…)).
> 
> We prefer to keep things general because they can be used, and some users do find creative ways to do things.
> 

Yeah, so they HAVE functionality. It seemed they were just placeholders.

> In the case of the scope selector, this limits the scope in which the key equivalent or tab trigger has an effect.
> 
> So for example in the case of themes, let’s imagine we have two themes, theme A and theme B. We could assign both of these themes a key equivalent of ⌘1 but different scope selectors, e.g. source.c and text.html.
> 

That’s great!!

> What this would allow is to press ⌘1 in a source.c file and switch to theme A, yet in text.html the same key would switch to theme B.
> 

And this is cool.

> If someone would actually find this useful, I do not know, but knowing that all bundle items can (more or less) be treated the same, I think has value in itself.
> 

I find them useful :)
Indeed

Thank you

Best, u

> 
> _______________________________________________
> TextMate mailing list
> TextMate at lists.macromates.com
> https://lists.macromates.com/listinfo/textmate



More information about the TextMate mailing list