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

Javascript is not styled correctly in some edge cases (fixed in CodeMirror 5.27.0) #13590

Closed
tech4him1 opened this issue Aug 1, 2017 · 4 comments

Comments

@tech4him1
Copy link

Description

In the edge case described in codemirror/codemirror5#4785, JavaScript will no longer have syntax highlighting for the rest of the file. This bug was fixed in CodeMirror 5.27.0 and later.

Steps to Reproduce

Copy an example from codemirror/codemirror5#4785 into file in the latest version of Brackets.

Expected behavior: The syntax highlighting should work for the whole file.

Actual behavior: The syntax highlighting breaks for the rest of the file below that particular code example.

Versions

Brackets Release 1.10 build 1.10.0-17483

@petetnt
Copy link
Collaborator

petetnt commented Aug 2, 2017

Hi @tech4him1!

CodeMirror update should land on the next Brackets release, at which point this will be fixed in Brackets too.

Keeping this issue open until that, thanks for reminding (I made the CodeMirror issue 😹)!

@tech4him1
Copy link
Author

Yeah, I was wondering about that! Sounds good.

@swmitra
Copy link
Collaborator

swmitra commented Aug 8, 2017

Fixed by #13596.

@swmitra
Copy link
Collaborator

swmitra commented Aug 8, 2017

Marking this issue as closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants