Package: gtk
Function gtk:text-buffer-selection-bound
Lambda Listgtk:text-buffer-selection-bound (buffer) ArgumentsReturn ValueThe gtk:text-mark object with the selection bound mark. Details
Returns the mark that represents the selection bound. Equivalent to calling the gtk:text-buffer-mark function to get the mark named "selection_bound", but very slightly more efficient, and
involves less typing. The currently selected text in the text buffer is the region between the "selection_bound" and "insert" marks. If the "selection_bound" and "insert" marks are in the same place, then there is no current selection. The gtk:text-buffer-selection-bounds function is another convenient function for handling the selection, if you just want to know whether there is a selection and what its bounds are. | See also |
2024-7-3