[pango/pango-1-48] Clarify pang_attr_list_splice docs



commit be198b0875a92238e3b7d5a208bfb5db15be44ae
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 cb3d917d..e0272d0d 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -1810,7 +1810,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]