Package: pango
Function pango:attr-list-splice
Lambda Listpango:attr-list-splice (attrlist1 attrlist2 pos len) ArgumentsDetails
This function opens up a hole in the attribute list, fills it in with attributes from the left, and then merges attrlist2 on top of the
hole.
This operation is equivalent to stretching every attribute that applies at position pos in the attribute list by an amount len, and then calling the pango:attr-list-change function with a copy of each attribute in attrlist2 in sequence, offset in position by pos. This operation proves useful for, for instance, inserting a pre-edit string in the middle of an edit buffer. | See also |
#2025-1-1