Description
Marks are positions in a buffer which move when the buffer is modified,
so that they always point to the same place in the buffer.
They are automatically destroyed when the buffer is destroyed, unless
you have explicitly call Ref on the mark.
See
Gtk.Text_Buffer for various functions dealing with marks. In
particular,
Gtk.Text_Buffer.Get_Buffer can be used to retrieve the
buffer from a mark.
Subprograms
-
-
procedure Set_Visible
(Mark : access Gtk_Text_Mark_Record;
Setting : Boolean := True);
function Get_Visible
(Mark : access Gtk_Text_Mark_Record) return Boolean;
-
function Get_Name (Mark : access Gtk_Text_Mark_Record) return String;
-
function Get_Deleted (Mark : access Gtk_Text_Mark_Record) return Boolean;
-
function Get_Left_Gravity
(Mark : access Gtk_Text_Mark_Record) return Boolean;
Converting to/from GValue
-
procedure Set_Text_Mark
(Val : in out Glib.Values.GValue;
Mark : access Gtk_Text_Mark_Record);
function Get_Text_Mark (Val : Glib.Values.GValue) return Gtk_Text_Mark;