Allow inserting Pango markup in text buffers

This has been a very long-standing feature request.

https://bugzilla.gnome.org/show_bug.cgi?id=59390
This commit is contained in:
Matthias Clasen
2014-12-04 00:08:30 -05:00
parent d184088cae
commit 3d4bcf55a5
3 changed files with 186 additions and 0 deletions

View File

@ -236,6 +236,12 @@ void gtk_text_buffer_insert_with_tags_by_name (GtkTextBuffer *buffer,
const gchar *first_tag_name,
...) G_GNUC_NULL_TERMINATED;
GDK_AVAILABLE_IN_3_16
void gtk_text_buffer_insert_markup (GtkTextBuffer *buffer,
GtkTextIter *iter,
const gchar *markup,
gint len);
/* Delete from the buffer */
GDK_AVAILABLE_IN_ALL
void gtk_text_buffer_delete (GtkTextBuffer *buffer,