开发者

What's the selector to color word values in CSS files in TextMate?

开发者 https://www.devze.com 2023-01-18 11:24 出处:网络
My present TextMate theme (Ruby Blue) is nice, except there\'s one annoying attribute that I haven\'t been able to fix.

My present TextMate theme (Ruby Blue) is nice, except there's one annoying attribute that I haven't been able to fix.

Wh开发者_开发百科en editing CSS, it doesn't apply any color to "word values" for properties.

See screenshot below -- for width: 90%, the 90% is highlighted. However, for display: block, 'block' gets no highlighting.

What's the selector to color word values in CSS files in TextMate?

What's the TextMate selector to allow me to color this? I tried experimenting with different options in the theme editor and haven't been able to find it yet.

Thanks!


It's support.constant.property-value.css.

(Hint: If you put your cursor in a word and press shift+control+p, a tooltip will popup and tell you the current selector for the cursor position, as well as any parent selectors.)

0

精彩评论

暂无评论...
验证码 换一张
取 消