1. kate editor vs euphoria.xml
- Posted by Jerry_Story Jul 29, 2010
- 970 views
I added multiLine comment and some keywords to euphoria.xml to bring it up to Euphoria 4.0. (I took the precaution of making a backup euphoria-backup.xml before I changed euphoria.xml.)
But kate ignores the changes I made in euphoria.xml and acts like it's using the original version, which no longer exists. For example 'goto' should change color. The date on euphoria.xml shows that it was recently changed. I exited kate and restarted kate and that didn't make any difference.
What is happening?
When are kate's syntax files loaded? When kate is started? When else? Why doesn't kate reload euphoria.xml when kate is restarted?
2. Re: kate editor vs euphoria.xml
- Posted by mattlewis (admin) Jul 29, 2010
- 959 views
I added multiLine comment and some keywords to euphoria.xml to bring it up to Euphoria 4.0. (I took the precaution of making a backup euphoria-backup.xml before I changed euphoria.xml.)
But kate ignores the changes I made in euphoria.xml and acts like it's using the original version, which no longer exists. For example 'goto' should change color. The date on euphoria.xml shows that it was recently changed. I exited kate and restarted kate and that didn't make any difference.
What is happening?
When are kate's syntax files loaded? When kate is started? When else? Why doesn't kate reload euphoria.xml when kate is restarted?
Which version of kate / linux are you using? When I was on Kubuntu 9.04, the file was buried somewhere in the .kde directory (something like share/apps/katepart/syntax I think). I could shut down kate and restart, and the new highlighting would take effect.
Now, on 10.04, I find:
[Cache /usr/share/kde4/apps/katepart/syntax/euphoria.xml] author=Irv Mullins (irvm@---.com) extension=*.e;*.ex;*.exw;*.exu hidden=false indenter= lastModified=1211367994 license=LGPL mimetype=text/x-euphoria name=Euphoria priority= section=Scripts style= version=2.08
I'd guess you'd need to edit that to point to your new file and restart kate. I haven't tried doing this, though.
Matt
3. Re: kate editor vs euphoria.xml
- Posted by Jerry_Story Jul 29, 2010
- 945 views
Now, on 10.04, I find:
[Cache /usr/share/kde4/apps/katepart/syntax/euphoria.xml] author=Irv Mullins (irvm@---.com) extension=*.e;*.ex;*.exw;*.exu hidden=false indenter= lastModified=1211367994 license=LGPL mimetype=text/x-euphoria name=Euphoria priority= section=Scripts style= version=2.08
I figured it out. katesyntaxhighlightingrc had euphoria-backup.xml in it. I renamed euphoria-backup.xml to euphoria.xml-backup. Then I removed euphoria-backup.xml from katesyntaxhighlightingrc. Then I restarted kate and it worked!
kate was using euphoria-backup.xml instead of euphoria.xml
When backing up a kate xml file, change the extender.