add_mark


Description:

[ Version ( since = "2.12" ) ]
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 mark_set signal as notification of the mark's initial placement.

Parameters:

this

a TextBuffer

mark

the mark to add

where

location to place mark