addMark

open fun addMark(mark: TextMark, where: TextIter)

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::mark-set signal as notification of the mark's initial placement.

Parameters

mark

the mark to add

where

location to place mark