Im trying to figure out how to change the color of only specific text
within a textview. kinda like syntax highlighting.
e.g "hello world?!"
does anyone know how to, lets say for example purposes, only change the colour of "?!" of the above text.
i know how to change the colour of the all text within the textview:
gdk_color_parse ("orange", &color);
gtk_widget_modify_text (textview, GTK_STATE_NORMAL, &color);
but this is not what i want and i cant seem to find anything that helps me.
id appreciate any feedback ASAP. i need this working in two days
Thanks a mill