Pike v8.0 release 1738

Method GTK2.TextIter()->get_slice()


Method get_slice

string get_slice(GTK2.TextIter end)

Description

Returns the text in the given range. A "slice" is an array of characters including the Unicode "unknown" character 0xFFFC for iterable non-character elements in the buffer, such as images. Because images are encoded in the slice, byte and character offsets in the returned array will correspond to bytes offsets in the text buffer. 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 buffer.