Re: GtkTextBuffer : Applying tags to newly input text
- From: cecashon aol com
- To: grim reaperworld com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkTextBuffer : Applying tags to newly input text
- Date: Thu, 21 Jun 2018 14:26:30 -0400
The textview understands Pango markup. Maybe something to give a try. There are a lot of text formats and you
might have to do some text parsing depending on the format. If it is possible to use
gtk_text_buffer_insert_markup(), this can save a lot of time dealing with text tags especially if you intend
to print the text. It is far easier to send a pango markup string to print than to go through all the tags
and draw them with cairo.
https://developer.gnome.org/pango/stable/PangoMarkupFormat.html
Eric
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]