| Issue 3643: | Code with ES6 string templating using backticks results in all-red code | |
| 2 people starred this issue and may be notified of changes. | Back to list |
*****************************************************************
***** *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!! *****
***** *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD, *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
***** *****
***** THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS *****
***** *****
*****************************************************************
Affected Version: 2.10.2-1-ge246319
What steps will reproduce the problem?
1. Push a commit with a JavaScript file that uses the ES2015 string templating feature to Gerrit. This feature uses
the language syntax: `Hello ${localVariable}` -- with the backtick character instead of quote characters.
2. View the commit in Gerrit and open the file.
What is the expected output? What do you see instead?
The syntax highlighting is broken. The font-color for all characters after the backtick becomes red. No more syntax
highlighting for the rest of the file :(
Please provide any additional information below.
Nov 3, 2015
Project Member
#1
David.Os...@gmail.com
Status:
Accepted
Nov 3, 2015
Codemirror 5.7 on gerrit-review (2.11.4-1597-gb54d38d): [1] Codemirror 5.8 on localhost: [2] * [1] http://imgur.com/J8IWjI6 * [2] http://imgur.com/IbNegmj https://gerrit-review.googlesource.com/72040
Status:
ChangeUnderReview
Nov 6, 2015
(No comment was entered for this change.)
Status:
Submitted
Labels: FixedIn-2.12
Dec 21, 2015
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |