On 06/10/2018 09:37 PM, Michele Calgaro wrote:
I believe the non-working one was an update from settings/configure kate/highlight/download,That is strange, in TDE there is no version 1.23 of javascript syntax highlight file. And
not in https://www.kate-editor.org/syntax/, which is the official website.
Cheers Michele
That is really strange, I have in the old copy:
$ ls -al tde/tde/main/tdelibs/kate/data/javascript.xml -rw-r--r-- 1 david david 10487 Jan 19 2014 tde/tde/main/tdelibs/kate/data/javascript.xml
$ head -n10 tde/tde/main/tdelibs/kate/data/javascript.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <!-- Author: Anders Lund <anders@alweb.dk> //--> <!-- Minor changes: Joseph Wenninger <jowenn@kde.org> //--> <!-- Full JavaScript 1.0 support by Whitehawk Stormchaser //--> <language name="JavaScript" version="1.23" kateversion="2.5" section="Scripts" extensions="*.js;*.kwinscript" mimetype="text/x-javascript;application/x-javascript" indenter="cstyle" author="Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net)" license=""> <highlighting> <list name="keywords">
Beyond that -- I cannot explain. I'm just glad the one that was there worked :)