| Summary: | customized syntax highlighting XML file has no effect any more | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | Mathias <mathias> |
| Component: | framework | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | christoph |
| Priority: | NOR | ||
| Version First Reported In: | 5.50.0 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Mathias
2018-11-05 22:41:19 UTC
There seems to be an older related bug for kile: https://bugs.kde.org/show_bug.cgi?id=384123 What happens if you also increase the version="" number? This is required since if the version is <= the one used by Kate, then your file will be ignored. (In reply to Dominik Haumann from comment #2) > What happens if you also increase the version="" number? This is required > since if the version is <= the one used by Kate, then your file will be > ignored. Yes, that helped. Thank you very much! I just guessed a big enough number. 11 did it, 7 not. This is not very well documented, is it? I do not even understand what exactly this version number is and where "the one used by Kate" can be found - and how it is calculated. Documentation issue then? The official documentation (https://docs.kde.org/trunk5/en/applications/katepart/highlight.html) remains a bit vague on the topic. Close? Given it works with a recent enough version, we can close this. The version must be higher than for the shipped file (as simple integer >). But yes, the shipped file version is unfortunately not obvious. |