Converts from a position in the entry contents (returned by get_text) to a position in the entry’s Layout (returned by get_layout, with text retrieved via get_text).
this |
a Entry |
text_index |
byte index into the entry contents |
byte index into the entry layout text |