Skip to content

TextInput::cursor_position and anchor_position are not up-to-date after changing TextInput::text #331

@tronical

Description

@tronical

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 and anchor_position are not documented right now, but they are accessible (and used by the tests).

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:textText rendering, fonts, Text input (mS,bF)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions