Virtual Method

TalkatuBufferinsert_markup

Declaration [src]

void
insert_markup (
  TalkatuBuffer* buffer,
  GtkTextIter* pos,
  const gchar* new_text,
  gint new_text_length
)

Description [src]

Inserts text that will be or already is marked up. Calling this tells buffer to not apply the currently selected format to the newly inserted text, which is what it does when text is normally inserted.

Parameters

pos GtkTextIter
 

The GtkTextIter where the text should be inserted.

 The data is owned by the caller of the function.
new_text const gchar*
 

The new text to insert.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
new_text_length gint
 

The len of new_text.