TextBuffer.insertWithTags

Inserts text into buffer 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 TextBuffer.insert, then TextBuffer.applyTag on the inserted text; TextBuffer.insertWithTags is just a convenience function.

class TextBuffer
void
insertWithTags

Parameters

iter TextIter

an iterator in buffer

text string

UTF-8 text

tags TextTag[]

list of tags to apply