-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 4.4.0
-
Component/s: Repository - Source / Diff, UI, Usability
On some Swift source files, the highlighter eventually gives up and highlights the rest of the file red. Example:

If you paste the same code into the CodeMirror example site, It handles it correctly:

The version of CodeMirror bundled with Bitbucket Server probably just needs to be updated.