Skip to content

Error Can not read properties of undefined when more cursors than half the number of variable line heights #297959

@aiday-mar

Description

@aiday-mar
  • Use the setting
"editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": "meta.class",
                "settings": {
                    "fontSize": 3,
                    "lineHeight": 3
                }
            }
        ]
    }
  • open the TS file
class Foo {
   public bar() {
       return 1;
   }
}

class Ko {
   // Add methods and properties as needed
}

class No {
   // Add methods and properties as needed
}

class Yes {
   // Add methods and properties as needed
}
  • Add cursors on every line
  • Press Enter
  • Look at the dev tools and notice the error
Image

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugfont-token-customizationinsiders-releasedPatch has been released in VS Code Insiders

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions