DescriptionDevTools: [CodeMirror] prevent text editor from using incorrect highlighter
In certain cases text editor uses incorrect highlighter when the
"Show whitespaces" option is turned on. This is due to the fact
that CodeMirror.mimeModes array holds not only strings
(as CodeMirroTextEditor assumes), but also objects with a property
"name". This patch fixes this glitch.
BUG=
R=vsevik
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160589
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|