python - How to color letters in gtktextview with gtkcssprovider -


hey wondering if it's possible color specific letters in gtktextview css style sheet.

for example.

.t {     color: blue; } .a {    color: red; } etc.. 

i have this,

gtktextview {     color: blue } 

but makes textview blue! dont know if possible, or if there's quick way this. doing tags takes processing power lot of text. i'm looking faster alternative , css looks promising.

thanks!

what suggest not possible. suggest using gtksourceview , creating special syntax highlighting language letters. (this, of course, use tags under hood, again css take processing power under hood too.)

i don't know if it's possible style gtktexttags css; might want that.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -