All,
Ran into an issue with a version of kdelibs/kate/part/data/javascript.xml (tdelibs here) where the syntax highlight would not render in kate/kwrite. (at all -- meaning no syntax highlight at all for .js) The syntax file was identical to:
https://git.trinitydesktop.org/cgit/tdelibs/tree/kate/data/javascript.xml
Reverting to an earlier version restored the syntax highlighting for javascript.
It would be worth a check. If it doesn't render, then here is a diff of the changes between the current and the one that works. If your current version works -- just disregard.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 2018/06/09 07:17 AM, David C. Rankin wrote:
All,
Ran into an issue with a version of kdelibs/kate/part/data/javascript.xml (tdelibs here) where the syntax highlight would not render in kate/kwrite (at all -- meaning no syntax highlight at all for .js) The syntax file was identical to:
https://git.trinitydesktop.org/cgit/tdelibs/tree/kate/data/javascript.xml
Reverting to an earlier version restored the syntax highlighting for javascript.
It would be worth a check. If it doesn't render, then here is a diff of the changes between the current and the one that works. If your current version works -- just disregard.
Hi David, the current version of javascript syntax highlighting in TDE is 1.22-1. i did a quick test and it seems to work fine. Not sure where you got the 1.23 from. Cheers Michele
On 06/09/2018 08:43 AM, Michele Calgaro wrote:
Hi David, the current version of javascript syntax highlighting in TDE is 1.22-1. i did a quick test and it seems to work fine. Not sure where you got the 1.23 from. Cheers Michele
I believe the non-working one was an update from settings/configure kate/highlight/download, the working replacement came from an old copy of TDE 3.5.13_sru I still had laying around.
Glad the current one was working,
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
I believe the non-working one was an update from settings/configure kate/highlight/download, the working replacement came from an old copy of TDE 3.5.13_sru I still had laying around.
Glad the current one was working,
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
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 :)
On Monday 11 of June 2018 10:09:15 David C. Rankin wrote:
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 :)
https://mirror.git.trinitydesktop.org/cgit/tdelibs/log/kate/data/javascript....
As you can see, version 1.23 was in repository beetween 2014-01-08 and 2014-03-02. And then again beetween 2014-06-03 and 2014-07-28.
Cheers
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Beyond that -- I cannot explain. I'm just glad the one that was there worked :)
https://mirror.git.trinitydesktop.org/cgit/tdelibs/log/kate/data/javascript....
As you can see, version 1.23 was in repository beetween 2014-01-08 and 2014-03-02. And then again beetween 2014-06-03 and 2014-07-28.
I can't remember exactly, but I think it was upgraded to 1.23 and then downgraded again on the main Kate website. TDE updates (done by me) just followed that. Anyhow if you delete 1.23 you should be fine. Cheers Michele