[pango/attrlist-splice: 1/2] Clarify pang_attr_list_splice docs




commit c47ad7e2ce92c34eb39cceb7eace5711dc78fac0
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jan 7 20:21:31 2022 -0500

    Clarify pang_attr_list_splice docs
    
    Make it explicit that the spliced-in attributes
    are limited to the the 'gap'.

 pango/pango-attributes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index cafe0df3..c9b58b07 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -2289,7 +2289,7 @@ pango_attr_list_update (PangoAttrList *list,
  * that applies at position @pos in @list by an amount @len,
  * and then calling [method@Pango.AttrList.change] with a copy
  * of each attribute in @other in sequence (offset in position
- * by @pos).
+ * by @pos, and limited in lengh to @len).
  *
  * This operation proves useful for, for instance, inserting
  * a pre-edit string in the middle of an edit buffer.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]