Skip to content

Word Wrapping Messes up Line Positions in Latest Insiders #25044

Description

@mjbvz
  • VSCode Version:
  • OS Version:

Steps to Reproduce:

  1. Create a js file:
['loooooooooooooooooooooooooooooooooooooooooooong', 'loooooooooooooooooooooooooooooooooooooooooooong']
function foo() {} 
function bar() {} 
  1. Move editor so that the first line wraps and occupies two lines
  2. Hover over foo

wrap

Expected
Definition of foo is displayed

Actual
Definition of bar is displayed

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityverifiedVerification succeeded

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions