Skip to content

Variable font size line becomes small after deleting line prior to it #298014

@aiday-mar

Description

@aiday-mar
  • Start with the TS file

class Foo {
   public bar() {
   return 1;   
   }
}
  • Use the settings
    "editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": "meta.class",
                "settings": {
                    "fontSize": 3,
                    "lineHeight": 3
                }
            }
        ]
    },
  • Notice all the tokens are large
  • Put the cursor at the beginning of the token class
  • Press delete and delete the 1st line
  • Notice the tokens on line 2 become small 🐛

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugfont-token-customization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions