[kate] [Bug 414997] Custom user syntax highlighting file does not override system syntax highlighting file

2019-12-21 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=414997

--- Comment #5 from Christoph Cullmann  ---
Thanks for the suggestion!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 414997] Custom user syntax highlighting file does not override system syntax highlighting file

2019-12-21 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=414997

Christoph Cullmann  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/kde/
   ||kate/commit/afa4538b6412977
   ||d0aeb8f7a0c100a9f314df3ad
 Status|REPORTED|RESOLVED

--- Comment #3 from Christoph Cullmann  ---
Git commit afa4538b6412977d0aeb8f7a0c100a9f314df3ad by Christoph Cullmann.
Committed on 21/12/2019 at 15:12.
Pushed by cullmann into branch 'master'.

document that the version is important for the choice of the syntax definition
to load

M  +2-0doc/katepart/development.docbook

https://invent.kde.org/kde/kate/commit/afa4538b6412977d0aeb8f7a0c100a9f314df3ad

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 414997] Custom user syntax highlighting file does not override system syntax highlighting file

2019-12-21 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=414997

Christoph Cullmann  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/kde/ |https://commits.kde.org/kat
   |kate/commit/afa4538b6412977 |e/afa4538b6412977d0aeb8f7a0
   |d0aeb8f7a0c100a9f314df3ad   |c100a9f314df3ad

--- Comment #4 from Christoph Cullmann  ---
Git commit afa4538b6412977d0aeb8f7a0c100a9f314df3ad by Christoph Cullmann.
Committed on 21/12/2019 at 15:12.
Pushed by scmsync into branch 'master'.

document that the version is important for the choice of the syntax definition
to load

M  +2-0doc/katepart/development.docbook

https://commits.kde.org/kate/afa4538b6412977d0aeb8f7a0c100a9f314df3ad

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 414997] Custom user syntax highlighting file does not override system syntax highlighting file

2019-12-21 Thread Russell
https://bugs.kde.org/show_bug.cgi?id=414997

--- Comment #2 from Russell  ---
That worked.  

In my custom file, I changed the language attribute from 'version="2"' to
'version="992"'. The system file was at 'version="3"'. 

Would it be possible to change this to a documentation update for
https://docs.kde.org/stable5/en/applications/katepart/highlight.html.

Documentation suggestion:

+
Custom .xml highlight definition files are located in
org.kde.syntax-highlighting/syntax/ in your user folder found with
qtpaths--paths GenericDataLocation which usually is $HOME/.local/share.
Regarding the language element, if multiple .xml files on your system have the
same name attribute, the file with the highest version attribute will be
loaded. 
+

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 414997] Custom user syntax highlighting file does not override system syntax highlighting file

2019-12-13 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=414997

Christoph Cullmann  changed:

   What|Removed |Added

 CC||cullm...@kde.org

--- Comment #1 from Christoph Cullmann  ---
Hi, which file is used is decided by the version of it (for files of the same
name).

If you increment the file version in the xml, does it work?

(this is done that way to allow e.g. local files of the user to be overruled if
KTextEditor ships updates with higher versions)

-- 
You are receiving this mail because:
You are watching all bug changes.