I have just upgraded Kate to KDE 5 on Debian (Kate version 15.08.0 + KDE Frameworks 5.13.0 + Qt 5.4.2) and the syntax highlighting of OCaml files is now totally messed up, although it seems that the XML description file has not changed. For instance, the line let id1 = foobar is miscoloured as if "id" was an identifier and "1" a decimal number, which is wrong. The XML file does recognize identifiers containing integers though. This is quite annoying. Reproducible: Always
Git commit 5163bda00138f168473c50e456dc3337b368cd17 by Christoph Cullmann. Committed on 04/10/2015 at 15:47. Pushed by cullmann into branch 'master'. fix regexps in HL files PCRE compatible regex are not that compatible to the QRegExp we used before improve the katehighlightingindexer to detect regexp errors this fixes the ocaml HL M +11 -11 src/syntax/data/fsharp.xml M +4 -4 src/syntax/data/haskell.xml M +27 -10 src/syntax/data/katehighlightingindexer.cpp M +9 -9 src/syntax/data/mup.xml M +5 -5 src/syntax/data/ocaml.xml M +2 -2 src/syntax/data/ocamllex.xml M +3 -3 src/syntax/data/ocamlyacc.xml M +2 -2 src/syntax/data/perl.xml M +2 -2 src/syntax/data/rest.xml M +4 -4 src/syntax/data/roff.xml http://commits.kde.org/ktexteditor/5163bda00138f168473c50e456dc3337b368cd17