Creates a text mark. Add it to a buffer using gtk.text_buffer.TextBuffer.addMark. If name is NULL, the mark is anonymous; otherwise, the mark can be retrieved by name using gtk.text_buffer.TextBuffer.getMark. Normally marks are created using the utility function gtksource.buffer.Buffer.createSourceMark.
Returns the mark category.
Returns the next #GtkSourceMark in the buffer or null if the mark was not added to a buffer. If there is no next mark, null will be returned.
Returns the previous #GtkSourceMark in the buffer or null if the mark was not added to a buffer. If there is no previous mark, null is returned.
Returns this, for use in with statements.
Get category property.
Get builder for gtksource.mark.Mark
Returns this, for use in with statements.
Get builder for gtk.text_mark.TextMark
Get leftGravity property.
Get name property.
Gets the buffer this mark is located inside, or null if the mark is deleted.
Returns true if the mark has been removed from its buffer with gtk.text_buffer.TextBuffer.deleteMark. See gtk.text_buffer.TextBuffer.addMark for a way to add it to a buffer again.
Determines whether the mark has left gravity.
Returns the mark name; returns NULL for anonymous marks.
Returns true if the mark is visible (i.e. a cursor is displayed for it).
Sets the visibility of mark; the insertion point is normally visible, i.e. you can see it as a vertical bar. Also, the text widget uses a visible mark to indicate where a drop will occur when dragging-and-dropping text. Most other marks are not visible. Marks are not visible by default.