add_mark


Description:

public void add_mark (TextMark mark, TextIter where)

Adds the mark at position where.

The mark must not be added to another buffer, and if its name is not null then there must not be another mark in the buffer with the same name.

Emits the [signal@Gtk.TextBuffer:GtkTextBuffer:mark-set] signal as notification of the mark's initial placement.

Parameters:

this

a `GtkTextBuffer`

mark

the mark to add

where

location to place mark