Qt: change color of html tags dosen't work

afogafzij

New Member
I'm making a text editor in qt where it replaces words with html(to color the html tags) but I can't change the color of the html tags\[code\]string.replace("<home>","<lo style='color:#0066ff;'><home></lo>");\[/code\]it works fine with words but when I do it with html tags, it doesn't do anythingI'm don't want highlighting i want to change the color with the css #how can I fix it??
 
Top