https://bugs.kde.org/show_bug.cgi?id=405585

--- Comment #12 from prusselltechgr...@gmail.com ---
I tested neon-unstable-20190401-1143 in a VM. 

And the patch fixed it. Kate syntax highlighting works as it has since KDE 4:

View > Code Folding > Fold Top Level Nodes 
and
View > Code Folding > Unfold Top Level Nodes 

I'll definitely look into opensuse tumbleweed repos for testing.

A couple of cleanup items:

1. I had a typo in my first entry. The current directory location for a user's
own or override syntax highlight definition file, on linux, is:

     $HOME/.local/share/org.kde.syntax-highlighting/syntax/

The documentation is located here:

   
https://docs.kde.org/trunk5/en/applications/katepart/highlight.html#idm45858413298848

The documentation says to use the command below to find your user folder
($HOME/.local/share):

    qtpaths --paths GenericDataLocation

When I ran the command on neon-unstable, I got:

    qtpaths: could not find a QT installation of ''

It did not prevent Kate from finding the syntax highlight definition file.

2. During the learning process, it was very helpful to read, grep/sed the
system syntax highlight definition xml files. I read alert.xml to find which
elements were available. I searched neon-unstable and didn't find any syntax
highlight definition files. Doing an Internet search, I found the link below,
which describes that they are now compiled into the KSyntaxHighlighting
library.

    https://kate-editor.org/2018/03/10/improving-syntax-highlighting-files/

For myself and folks coming along, where would we find the xml source for the
syntax highlight definition files?

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

Reply via email to