Package: gtk
Function gtk-text-buffer-get-slice
Lambda Listgtk-text-buffer-get-slice (buffer start end &optional include) ArgumentsReturn ValueAn allocated UTF-8 string. Details Returns the text in the range [start, end).
Excludes undisplayed text, text marked with tags that set the invisibility attribute, if the include argument is false. The returned string includes a 0xFFFC character whenever the text buffer contains embedded images, so byte and character indexes into the returned string do correspond to byte and character indexes into the text buffer. Contrast with the gtk-text-buffer-get-text function. Note that 0xFFFC can occur in normal text as well, so it is not a reliable indicator that a pixbuf or widget is in the text buffer. | See also |
2021-11-16