Skip to content

TextInput selectionRange #1364

Description

@ncannasse

It seems that selectionRange is trying to be two things : either working in "cursor mode" including auto breaking chars (split text) or in "real mode" using the actual real text. This shows when doing select all for instance where we would want to select all the text before rendering was done (at creation time) and depending on the display this will change.
I think it should always be in real mode, with eventually a cursor mode cache calculated during draw() but this requires a complete review.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions