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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -