[kate] doc/katepart: Highlighting Doc: add XML files directory of Kate's Flatpak/Snap package

Nibaldo González null at kde.org
Sat Apr 25 14:41:43 BST 2020


Git commit b778e770a220c53f8ff337d76ebb6cea4bbd1400 by Nibaldo González.
Committed on 25/04/2020 at 08:21.
Pushed by cullmann into branch 'master'.

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

M  +7    -1    doc/katepart/development.docbook
M  +1    -1    doc/katepart/regular-expressions.docbook

https://invent.kde.org/kde/kate/commit/b778e770a220c53f8ff337d76ebb6cea4bbd1400

diff --git a/doc/katepart/development.docbook b/doc/katepart/development.docbook
index 95a826721..62fe1d235 100644
--- a/doc/katepart/development.docbook
+++ b/doc/katepart/development.docbook
@@ -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>
 
 <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="https://flathub.org/apps/details/org.kde.kate">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="https://snapcraft.io/kate">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>
+
 <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>
 
 <variablelist>
diff --git a/doc/katepart/regular-expressions.docbook b/doc/katepart/regular-expressions.docbook
index e15657758..cbe8e6912 100644
--- a/doc/katepart/regular-expressions.docbook
+++ b/doc/katepart/regular-expressions.docbook
@@ -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>(?<cup)cake</userinput> will match at <quote>cake</quote>
+<para>The expression <userinput>(?<=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>
 </listitem>


More information about the kde-doc-english mailing list