insert_with_tags


Description:

public void insert_with_tags (ref TextIter iter, string text, int len, ...)

Inserts text into this at iter, applying the list of tags to the newly-inserted text.

The last tag specified must be null to terminate the list. Equivalent to calling insert, then apply_tag on the inserted text; insert_with_tags is just a convenience function.

Parameters:

this

a TextBuffer

iter

an iterator in this

text

UTF-8 text

len

length of text, or -1

...

null-terminated list of tags to apply

first_tag

first tag to apply to text




2022 vala-language.org