Package: gtk
Function gtk-text-mark-new
Lambda Listgtk-text-mark-new (name left-gravity) ArgumentsReturn ValueNew gtk-text-mark object. Details
Creates a text mark. Add the text mark to a text buffer using the function gtk-text-buffer-add-mark. If name is nil, the text mark is anonymous. Otherwise, the text mark can be retrieved by name using the function gtk-text-buffer-mark. 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, left-gravity 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 |
*2021-2-18