TextInput::cursor_position
and anchor_position
are not up-to-date after changing TextInput::text
#331
Labels
a:text
Text rendering, fonts, Text input (mS,bF)
It's possible to programmatically replace the text using the
text
property and for example shorten it. A cursor that was previously placed at the end of the text should now report an adjusted position via the API - the same applies to the anchor.Note:
cursor_position
andanchor_position
are not documented right now, but they are accessible (and used by the tests).The text was updated successfully, but these errors were encountered: