AFAIK, you can’t. It would need some extra support in the core of TM. Unless of course you added all of the 2^24 possible hex values to the theme.
/Per
21 okt. 2021 kl. 15:11 skrev Bartu0142omiej Jou0144czy via TextMate textmate@lists.macromates.com:
OK, but how? I can set the foreground/background color, but how to set it not for the constant value but for the value captured in the language grammar?
On 20 Oct 2021, at 21:15, Uğur Özyılmazel ugurozyilmazel@gmail.com wrote:
Yes it's possible. via theme...
Uğur Özyılmazel
https://ugur.ozyilmazel.com https://github.com/vigo
On 20 Oct 2021 11:45 +0300, Bartłomiej Jończy via TextMate textmate@lists.macromates.com, wrote: Hi everyone, I've googled for that for days, but I can't find any solution. Is there any possibility to color hexadecimal values (e.g. #FF0000) with it's value? Like on the screenshot. I know how to colorize the pattern, but I can't set the color value in the theme.
<Screenshot 2021-10-20 at 10.44.04.png> _______________________________________________ TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com
TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com