Bug 384123 - Default Syntax Highlighting with custom XML file with higher priority not working
Summary: Default Syntax Highlighting with custom XML file with higher priority not wor...
Status: RESOLVED WORKSFORME
Alias: None
Product: kile
Classification: Applications
Component: editor (show other bugs)
Version: 2.9.60
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-29 07:14 UTC by Stas
Modified: 2023-01-01 05:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stas 2017-08-29 07:14:26 UTC
Hello, I have a custom XML file located at

~/.local/share/org.kde.syntax-highlighting/syntax/

This file has a higher priority for .tex files than the default one an should be chosen for highlighting .tex files by default when open new files.

This behavior is correctly performed by kate on my system. All .tex file choose my XML file for highlighting when I open them.

However, kile does not. It always chooses the default settings and not my custom ones. I can switch to my highlighting scheme manually but this has to be done for each file separately which can be very annoying for a larger project. 

Can someone look into that, please.
Comment 1 Mathias 2018-11-06 17:31:33 UTC
Try increasing the "version=" number in the language header of your xml file. Helped me in a similar case. See bug: https://bugs.kde.org/show_bug.cgi?id=400719
Comment 2 Justin Zobel 2022-12-02 01:22:49 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-12-17 05:13:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2023-01-01 05:20:16 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!