mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-27 15:40:00 +00:00
75f5c9b2be
The highlightSpecialChars() should act mostly identical to CM5. An example is the soft hyphen (U+00AD). These are highlighted as a red dot because they are non-printable characters. The i18n may seem like overkill, but CM6 would otherwise actually print the same message in plain English and without a way to localize it. Per request at T181677, we also highlight non-breaking space and the narrow non-breaking space. These are shown as a faint gray dot, to match CM6's highlightWhiteSpace() extension. That extension isn't used here because it would also highlight normal spaces, which we don't want. Bug: T181677 Change-Id: Iac1a8cf78e4cd0a27abc917f4b70bdfbaf86252a |
||
---|---|---|
.. | ||
jest | ||
phpunit | ||
selenium |