Different syntax highlighting in desktop and mobile application

Bug report


  • Platform: macOS and iOS
  • Platform version: Sonoma and 17.5.1
  • App Version: 5.8.1 and 5.2.0 (116)

How to reproduce

iOS screenshot

macOS screenshot

On Windows, the syntax highlighting is the same as on macOS.

Hi Dmitry,

Thanks for the report.
This is because they use different versions of CodeMirror for syntax highlighting.
The desktop apps currently use CM5 whereas the mobile apps use CM6.
As you know it is planned to be updated.