Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Click after a wrapped line in an inline editor may not set cursor in the right place. #7331

@RaymondLim

Description

@RaymondLim
  1. Start Brackets with word wrap on.
  2. Open an inline editor with some long lines. I used CSSInlineEditor.js file in brackets source and open inline editor for _getSelectorName on line 182.
  3. Resize the window width narrower until you see line 78 in inline editor starts to wrap.
  4. Try to select some word or set cursor after line 78.

Result: Selection or cursor may be off. You can see the same anomaly by selecting "endIndex" on line 79, and start resizing window to see the selection highlight moves around.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions