Skip to content

Can't select first character on wrapped lines in TextEdit #96071

Closed as not planned
@lostminds

Description

@lostminds

Tested versions

Reproducible in 4.3.stable

System information

macOS 14.6.1

Issue description

If a TextEdit line is long enough to wrap to the next line you can't select the first character on that new line. Doesn't seem to be specific to wrapping mode, but of course in needs to wrap. This affects TextEdits in the Editor (like the output log, or editing field for Label RichText etc) and TextEdits in run projects.

Steps to reproduce

The easiest way to see it is just to print out a long enough print log, like print("Here's a really long comment text that can wrap to multiple lines if the comment areas is small enough") and resize the window so the word wraps. Or just enter a long text in a RichText text field. Observe that you cant select the first character on wrapped lines.

text_selection_issue.mp4

Minimal reproduction project (MRP)

You can reproduce it in the editor, not project specific.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions