diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-13 23:04:02 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-13 23:05:29 -0400 |
commit | c489cf77e64edc55bb583dc05352f3e24f0ae72c (patch) | |
tree | bbee112e01ee4fac8d054497b765f9ed9bc8e82a /pango/pango-attributes.h | |
parent | c8212c485827cddd3c9a6a7c2a57e54d9254a10c (diff) | |
download | pango-c489cf77e64edc55bb583dc05352f3e24f0ae72c.tar.gz |
Add a function to update attribute lists
Add a function that can update positions of
attributes as the underlying text is changing.
This is meant to be used to update an attribute
list as text transformations are applied, like
capitalization.
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r-- | pango/pango-attributes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h index cff495b2..b933bc11 100644 --- a/pango/pango-attributes.h +++ b/pango/pango-attributes.h @@ -547,6 +547,11 @@ void pango_attr_list_splice (PangoAttrList *list, PangoAttrList *other, gint pos, gint len); +PANGO_AVAILABLE_IN_1_44 +void pango_attr_list_apply_delta (PangoAttrList *list, + int pos, + int remove, + int add); PANGO_AVAILABLE_IN_1_2 PangoAttrList *pango_attr_list_filter (PangoAttrList *list, |