[kate] doc: Update+fix kate menu docbook

Burkhard Lück null at kde.org
Thu May 24 08:34:57 UTC 2018


Git commit d3c63880e7b8ea115eed3b9729693caabef0727f by Burkhard Lück.
Committed on 24/05/2018 at 08:32.
Pushed by lueck into branch 'master'.

Update+fix kate menu docbook

add missing submenu Go To
add view-unfold-toplevel-nodes, works for me
add missing view-show-non-printable-spaces
fix broken link to katepart scripting
remove Show Word Count from katepart/menus and add it to katepart/configuring

Differential Revision: https://phabricator.kde.org/D12984

M  +14   -13   doc/kate/menus.docbook
M  +6    -1    doc/katepart/configuring.docbook
M  +0    -7    doc/katepart/menus.docbook

https://commits.kde.org/kate/d3c63880e7b8ea115eed3b9729693caabef0727f

diff --git a/doc/kate/menus.docbook b/doc/kate/menus.docbook
index 93891d606..c64c59f00 100644
--- a/doc/kate/menus.docbook
+++ b/doc/kate/menus.docbook
@@ -610,6 +610,7 @@ switch to the incremental search bar.
 <keycombo action="simul">&Ctrl;<keycap>6</keycap></keycombo>
 </shortcut>
 <guimenu>Edit</guimenu>
+<guisubmenu>Go To</guisubmenu>
 <guimenuitem>Move to Matching Bracket</guimenuitem>
 </menuchoice></term>
 <listitem>
@@ -623,6 +624,7 @@ switch to the incremental search bar.
 <keycombo action="simul">&Ctrl;&Shift;<keycap>6</keycap></keycombo>
 </shortcut>
 <guimenu>Edit</guimenu>
+<guisubmenu>Go To</guisubmenu>
 <guimenuitem>Select to Matching Bracket</guimenuitem>
 </menuchoice></term>
 <listitem>
@@ -633,6 +635,7 @@ switch to the incremental search bar.
 <varlistentry id="edit-go-to-previous-modified-line">
 <term><menuchoice>
 <guimenu>Edit</guimenu>
+<guisubmenu>Go To</guisubmenu>
 <guimenuitem>Move to Previous Modified Line</guimenuitem>
 </menuchoice></term>
 <listitem>
@@ -644,6 +647,7 @@ switch to the incremental search bar.
 <varlistentry id="edit-go-to-next-modified-line">
 <term><menuchoice>
 <guimenu>Edit</guimenu>
+<guisubmenu>Go To</guisubmenu>
 <guimenuitem>Move to Next Modified Line</guimenuitem>
 </menuchoice></term>
 <listitem>
@@ -658,6 +662,7 @@ switch to the incremental search bar.
 <keycombo action="simul">&Ctrl;<keycap>G</keycap></keycombo>
 </shortcut>
 <guimenu>Edit</guimenu>
+<guisubmenu>Go To</guisubmenu>
 <guimenuitem>Go to Line...</guimenuitem>
 </menuchoice></term>
 <listitem>
@@ -677,7 +682,6 @@ arrow decrease it. Close the bar with a click on the button with an icon on the
 </sect1>
 
 <sect1 id="view-menu">
-
 <title>The View Menu</title>
 
 <variablelist>
@@ -1152,8 +1156,7 @@ side of the view.</para></listitem>
 Click on the right pointing triangle to expand all toplevel regions.</para></listitem>
 </varlistentry>
 
-<!--FIXME not implemented in kf5
-varlistentry id="view-unfold-toplevel-nodes">
+<varlistentry id="view-unfold-toplevel-nodes">
 <term><menuchoice>
 <shortcut>
 <keycombo action="simul">&Ctrl;&Shift;<keycap>+</keycap></keycombo>
@@ -1161,20 +1164,18 @@ varlistentry id="view-unfold-toplevel-nodes">
 <guimenuitem>Unfold Toplevel Nodes</guimenuitem>
 </menuchoice></term>
 <listitem><para>Expand all toplevel regions in the document.</para></listitem>
-</varlistentry
-https://git.reviewboard.kde.org/r/127601/
-Dominik Haumann
-I hope this will come back, but noone got around to implement this again... :/
--->
+</varlistentry>
 </variablelist>
 
 </listitem>
 </varlistentry>
 
-<!--FIXME
-Show Non-Printable Spaces Show/hide bounding box around non-printable spaces
-Show Word Count -> Displays the number of words and characters in the document and in the current selection.
--->
+<varlistentry id="view-show-non-printable-spaces">
+<term><menuchoice>
+<guimenuitem>Show Non-Printable Spaces</guimenuitem>
+</menuchoice></term>
+<listitem><para>Show/hide bounding box around non-printable spaces.</para></listitem>
+</varlistentry>
 
 </variablelist>
 
@@ -1429,7 +1430,7 @@ modified by
 <ulink url="help:/katepart/dev-scripting.html#dev-scripting-command-line">writing
 your own scripts</ulink>. This way, &kate; can be extended with user-defined tools.
 </para>
-<para><ulink url="help:/katepart/tools.html#scripts">There is a complete list of
+<para><ulink url="help:/katepart/dev-scripting.html">There is a complete list of
 scripts in the &katepart; documentation.</ulink></para>
 </listitem>
 </varlistentry>
diff --git a/doc/katepart/configuring.docbook b/doc/katepart/configuring.docbook
index 02f05d86b..7d2867d80 100644
--- a/doc/katepart/configuring.docbook
+++ b/doc/katepart/configuring.docbook
@@ -118,6 +118,11 @@ quickly animate the matching bracket.</para></listitem>
 <listitem><para>If enabled, the first line is folded, if possible. This is useful, 
 if the file starts with a comment, such as a copyright</para></listitem>
 </varlistentry>
+<varlistentry>
+<term><guilabel>Show Word Count
+</guilabel></term>
+<listitem><para>Displays the number of words and characters in the document and in the current selection.</para></listitem>
+</varlistentry>
 </variablelist>
 </sect3>
 
@@ -1114,7 +1119,7 @@ have changed since the last sync. The user can disable the swap files syncing if
 he wants, by selecting <guilabel>Disable</guilabel>,
 but this can lead to more data loss.</para>
 <para>When enabled, the swap files are saved in the same folder as the file. 
-When <guilabel>Alternative Folder</guilabel> is chosen, swap files are created in the specified folder. 
+When <guilabel>Alternative Directory</guilabel> is chosen, swap files are created in the specified folder.
 This is useful for network file systems to avoid unnecessary network traffic.</para>
 </listitem>
 </varlistentry>
diff --git a/doc/katepart/menus.docbook b/doc/katepart/menus.docbook
index 32279179d..c62d02c30 100644
--- a/doc/katepart/menus.docbook
+++ b/doc/katepart/menus.docbook
@@ -820,13 +820,6 @@ Click on the right pointing triangle to expand all toplevel regions.</para></lis
 <listitem><para>Show/hide bounding box around non-printable spaces.</para></listitem>
 </varlistentry>
 
-<varlistentry id="view-show-word-count">
-<term><menuchoice>
-<guimenuitem>Show Word Count</guimenuitem>
-</menuchoice></term>
-<listitem><para>Displays the number of words and characters in the document and in the current selection.</para></listitem>
-</varlistentry>
-
 </variablelist>
 
 </sect1>


More information about the kde-doc-english mailing list