pond icon indicating copy to clipboard operation
pond copied to clipboard

Colours for quotation

Open jvoisin opened this issue 11 years ago • 1 comments

It would be nice if the quoted texts in messages would appear in a different colour, like every decent email client does.

Example Maybe not coloured as this one, but only slightly greyed.

jvoisin avatar Jul 09 '14 17:07 jvoisin

There is a C example demonstrating coloration attributes within a GtkTextView widget here : http://www.gtkforums.com/viewtopic.php?t=1189 I haven't looked to see if our gtk-go supports this feature of GtkTextView.

Also, I suspect the "right way" to do this is using GtkSourceView because editing a GtkTextView widget might disrupt the coloration, and GtkSourceView is designed to do syntax highlighting in the first place. https://developer.gnome.org/gtksourceview/stable/GtkSourceView.html

Just fyi, GTK needs pkg-config under MacPorts, if you build that example, so : gcc -o gtk_textview_color_test gtk_textview_color_test.c pkg-config --cflags --libs gtk+-2.0

burdges avatar Oct 26 '14 14:10 burdges