diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pango-sections.txt | 2 | ||||
-rw-r--r-- | docs/tmpl/text-attributes.sgml | 19 |
2 files changed, 21 insertions, 0 deletions
diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt index ec33700d..b4809b50 100644 --- a/docs/pango-sections.txt +++ b/docs/pango-sections.txt @@ -319,6 +319,8 @@ PangoAttrType PANGO_TYPE_ATTR_TYPE PangoAttrClass PangoAttribute +PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING +PANGO_ATTR_INDEX_TO_TEXT_END PangoAttrString PangoAttrLanguage PangoAttrColor diff --git a/docs/tmpl/text-attributes.sgml b/docs/tmpl/text-attributes.sgml index edf2922d..050fe594 100644 --- a/docs/tmpl/text-attributes.sgml +++ b/docs/tmpl/text-attributes.sgml @@ -90,6 +90,25 @@ By default an attribute will have an all-inclusive range of [0,%G_MAXUINT]. @end_index: end index of the range (in bytes). The character at this index is not included in the range. +<!-- ##### MACRO PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING ##### --> +<para> +This value can be used to set the start_index member of a #PangoAttribute +such that the attribute covers from the beginning of the text. +</para> + +Since: 1.24 + + +<!-- ##### MACRO PANGO_ATTR_INDEX_TO_TEXT_END ##### --> +<para> +This value can be used to set the end_index member of a #PangoAttribute +such that the attribute covers to the end of the text. +</para> + +Since: 1.24 + + + <!-- ##### STRUCT PangoAttrString ##### --> <para> The #PangoAttrString structure is used to represent attributes with |