Hi everyone,
I have two questions on coloring the text in textmate.
# How do I turn off the background coloring when I turned it on once? Of course I could use the same color as the main background color. But than I need to change them all again.
# I would like to color the scopes "entity.name" and "entity.name.section" but somehow that does not work. Textmate only applies the rule for "entity.name"
Thanks in advance
Christoph
~~~~~ Christoph Biela
cbiela@gmail.com
Le 2 juin 06 à 20:36, Christoph Biela a écrit :
Hi everyone,
I have two questions on coloring the text in textmate.
# How do I turn off the background coloring when I turned it on once? Of course I could use the same color as the main background color. But than I need to change them all again.
Simply drag that color out of the window. It's like deleting an item from the dock.
# I would like to color the scopes "entity.name" and "entity.name.section" but somehow that does not work. Textmate only applies the rule for "entity.name"
Be sure to write "entity.name.section, entity.name" in the scope selector.
Thanks in advance
Christoph
Christoph Biela cbiela@gmail.com ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Urbanose
Sorry I was not precise enough, I would like to color those two scopes differently. for example I would like to color entity.name yellow and entity.name.section blue
Christoph
On 2006-06-02, at 20:59, Urbanose wrote:
entity.name.section, entity.name
~~~~~ Christoph Biela
cbiela@gmail.com
Le 2 juin 06 à 21:07, Christoph Biela a écrit :
Sorry I was not precise enough, I would like to color those two scopes differently. for example I would like to color entity.name yellow and entity.name.section blue
Nope you were, I was too fast. There shouldn't be a problem. Make sure that entity.name.section belongs to the context of the text element by placing the carret on it and pressing OPT + HELP. http://macromates.com/textmate/manual/scope_selectors#scope_selectors
Christoph
On 2006-06-02, at 20:59, Urbanose wrote:
entity.name.section, entity.name
Christoph Biela cbiela@gmail.com ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Urbanose