Home Download Buy Blog Forum Support

Text Color Change API?

Text Color Change API?

Postby stammer on Thu Jan 03, 2013 2:57 am

Is there any specific API that help plugin to set text color?
stammer
 
Posts: 5
Joined: Thu Jan 03, 2013 2:55 am

Re: Text Color Change API?

Postby adzenith on Thu Jan 03, 2013 8:35 pm

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. https://github.com/a-sk/livecss.
adzenith
 
Posts: 1204
Joined: Mon Oct 19, 2009 9:12 pm

Re: Text Color Change API?

Postby stammer on Sat Jan 12, 2013 5:23 am

It's quite helpful, thanks.
stammer
 
Posts: 5
Joined: Thu Jan 03, 2013 2:55 am


Return to Plugin Development

Who is online

Users browsing this forum: Yahoo [Bot] and 9 guests