User tests: Successful: Unsuccessful:
Pull Request for Issue #21451 .
We shall set the mode option by mime rather than by mode name. Because some modes such as 'less' are considered 'css' by Codemirror but are differentiated by mime type.
Open a less file with Codemirror. Before the patch it should be highlighted like css, after it will use less syntax highlighting. Auto formatting (select a block of code and hit shift-tab) should also be affected.
Probably also test some html, css, and js code to make sure it's still working as expected.
Syntax highlighting and auto-formatting will work according to whatever language is being displayed.
Well, it wasn't for 'less' and possibly some others.
Nope.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
Ready to Commit after two successful tests.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-18 15:54:23 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
|
Don't believe appveyor. He's a dirty liar.