insert_markup


Description:

[ Version ( since = "3.16" ) ]
public void insert_markup (ref TextIter iter, string markup, int len)

Inserts the text in markup at position iter.

markup will be inserted in its entirety and must be nul-terminated and valid UTF-8. Emits the insert_text signal, possibly multiple times; insertion actually occurs in the default handler for the signal. iter will point to the end of the inserted text on return.

Parameters:

this

a TextBuffer

iter

location to insert the markup

markup

a nul-terminated UTF-8 string containing Pango markup

len

length of markup in bytes, or -1