to, but not including end_offset. Use [glib.global.gfree] to free the returned string.
Text.getText
string getText(int startOffset, int endOffset)Gets the specified text.
Parameters
startOffset | a starting character offset within text |
endOffset | an ending character offset within text, or -1 for the end of the string. |
Returns
a newly allocated string containing the text from start_offset up