Re: need clarification about hilighting framework

Christoph Cullmann <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <[email protected]>
On 2020-09-29 15:56, Petr Smely wrote:
> hello,
> 
>  i'm trying to fiddle around in the hilighting in kate, but i'm
> confused ...
> 
>  in document:
> https://kate-editor.org/2016/11/15/ksyntaxhighlighting-a-new-syntax-highlighting-framework/
> like 4 years ago, a new hilighting framework was announced (moving
> away from that weired format in ~/.config/katesyntaxhighlightingrc to
> xml-files in ~/.local/share/org.kde.syntax-highlighting/). that would
> be nice!
> 
>  on my most recently updated install:
> 
>  i still have the old locations being used.
> 
>  "Starting with KDE Frameworks 5.29, the KTextEditor framework now
> uses the syntax highlighting files from KSyntaxHighlighting. These
> files are located in
> $HOME/.local/share/org.kde.syntax-highlighting/syntax" --> not on my
> install ... what is wrong here? do i have to actively change
> something? i could not find anything in the doc.

Hi,

perhaps there is a misunderstanding: The katesyntaxhighlightingrc is 
still used for some config stuff,
like colors.

This will change with frameworks 5.75.

https://kate-editor.org/post/2020/2020-09-13-kate-color-themes-5.75/

But the XML syntax definitions are already taken since long from the 
other locations, as documented.

Greetings
Christoph

> 
>  regards,
> Petr.

-- 
Ignorance is bliss...
https://cullmann.io | https://kate-editor.org
blob.png (image/png, 25.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.