summaryrefslogtreecommitdiff
path: root/gtk/gtktextattributes.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-24 12:47:12 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-25 14:57:13 -0400
commitb9cad7cc545cd82dca4c9d11085d6b7026b22038 (patch)
tree7eb90efa5588f0098f97318a41749331da86d411 /gtk/gtktextattributes.c
parent357b97b5a6eda3c69b256ea270dad7e7c7f4dc99 (diff)
downloadgtk+-b9cad7cc545cd82dca4c9d11085d6b7026b22038.tar.gz
textview: Implement new pango attributesnew-pango-attributes
Implement the word and sentence attributes.
Diffstat (limited to 'gtk/gtktextattributes.c')
-rw-r--r--gtk/gtktextattributes.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtktextattributes.c b/gtk/gtktextattributes.c
index 87208a8100..856b4f3310 100644
--- a/gtk/gtktextattributes.c
+++ b/gtk/gtktextattributes.c
@@ -441,6 +441,12 @@ _gtk_text_attributes_fill_from_tags (GtkTextAttributes *dest,
if (tag->priv->text_transform_set)
dest->text_transform = vals->text_transform;
+
+ if (tag->priv->word_set)
+ dest->word = vals->word;
+
+ if (tag->priv->sentence_set)
+ dest->sentence = vals->sentence;
}
dest->left_margin += left_margin_accumulative;