Returns text in the given range.
If the range contains non-text elements such as images, the character and byte offsets in the returned string will not correspond to character and byte offsets in the buffer. If you want offsets to correspond, see [[email protected]_slice].
this |
iterator at start of a range |
end |
iterator at end of a range |
array of characters from the buffer |