My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
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
Status:  Released
Owner:  ----
Closed:  Nov 6


Sign in to add a comment
 
Reported by w...@compass.com, Nov 2, 2015
*****************************************************************
*****                                                       *****
***** !!!! 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
This is a known bug in codemirror: [1] and should be fixed in Gerrit 2.12.

* [1] https://github.com/codemirror/CodeMirror/issues/3536
Status: Accepted
Nov 3, 2015
Project Member #2 David.Os...@gmail.com
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
Project Member #3 huga...@gmail.com
(No comment was entered for this change.)
Status: Submitted
Labels: FixedIn-2.12
Dec 21, 2015
Project Member #4 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting