Commit b778e770 authored by Nibaldo González's avatar Nibaldo González
Browse files

Highlighting Doc: add XML files directory of Kate's Flatpak/Snap package

parent 00d5d2ff
......@@ -231,12 +231,18 @@ Highlighting repository</ulink> in the file <filename>language.xsd</filename>
located in <filename class="directory">org.kde.syntax-highlighting/syntax/</filename> in
your user folder found with <userinput><command>qtpaths</command><option>--paths
GenericDataLocation</option></userinput> which usually is
<filename class="directory"><envar>$HOME</envar>/.local/share</filename>
<filename class="directory"><envar>$HOME</envar>/.local/share/</filename>.
<para>On &Windows; these files are located <filename>%USERPROFILE%/AppData/Local/org.kde.syntax-highlighting/syntax</filename>.
<replaceable>%USERPROFILE%</replaceable> usually expands to <filename>C:\\Users\\<replaceable>user</replaceable></filename>.</para>
<para>For <ulink url="">Kate's Flatpak package</ulink>,
these files are located <filename class="directory"><envar>$HOME</envar>/.var/app/org.kde.kate/data/org.kde.syntax-highlighting/syntax/</filename>
and for <ulink url="">Kate's Snap package</ulink>,
it is <filename class="directory"><envar>$HOME</envar>/snap/kate/current/.local/share/org.kde.syntax-highlighting/syntax/</filename>.
<para>If multiple files exist for the same language, the file with the highest <userinput>version</userinput> attribute in the <userinput>language</userinput> element will be loaded.</para>
......@@ -685,7 +685,7 @@ pattern.</para>
A lookbehind looks at the part of the string previous a possible match. The positive
lookbehind will match a string only if it is preceded by the <emphasis>PATTERN</emphasis>
of the assertion, but the text matched by that will not be included in the result.</para>
<para>The expression <userinput>(?&lt;cup)cake</userinput> will match at <quote>cake</quote>
<para>The expression <userinput>(?&lt;=cup)cake</userinput> will match at <quote>cake</quote>
if it is succeeded by <quote>cup</quote> (in <quote>cupcake</quote> but not in
<quote>cheesecake</quote> or in <quote>cake</quote> alone).</para>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment