Package: gtk
Function gtk:text-mark-new
Lambda Listgtk:text-mark-new (name gravity) ArgumentsReturn ValueNew gtk:text-mark object. Details
Creates a text mark. Add the text mark to a text buffer using the gtk:text-buffer-add-mark function. If the name argument is nil, the text mark is anonymous. Otherwise, the text mark can be retrieved by name using the gtk:text-buffer-mark function. If a text mark has left gravity, and text
is inserted at the text mark's current location, the text mark will be moved
to the left of the newly inserted text. If the text mark has right gravity, the gravity argument is false, the text mark will end up on the
right of newly inserted text. The standard left-to-right cursor is a text
mark with right gravity, when you type, the cursor stays on the right side of
the text you are typing. | See also |
#2023-3-15