Sublime Forum

Text Color Change API?

#1

Is there any specific API that help plugin to set text color?

0 Likes

#2

No. The way Sublime Text colors text is exclusively through use of language grammar files, so the only way to change the text color is to load up a new grammar or a new color scheme.
For workarounds, see e.g. github.com/a-sk/livecss.

0 Likes

#3

It’s quite helpful, thanks.

0 Likes