Skip to content

Weird behavior in syntax highlighting #391

@mjbvz

Description

@mjbvz

From @iMasoud on December 28, 2016 16:10

  • VSCode Version: 1.8.1 (Commit ee428b0eead68bf0fb99ab5fdc4439be227b6281)
  • OS Version: LinuxMint 18 KDE

Steps to Reproduce:

  1. Create a new .js file in vscode
  2. Paste content of attached file

Then here is how the syntax highlighting looks like:
screenshot_ _

As you can see syntax highlighting of line 18 is wiered. Now:

  1. Move 18th-line up
    And you will see that the weird syntax highlighting is fixed:
    screenshot_ _

vscode.txt

Copied from original issue: microsoft/vscode#17879

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions