[utilities/kate] doc/katepart: Add docs for the option to keep spaces to the left of cursor when saving

Yuri Chornoivan null at kde.org
Wed Mar 10 07:26:16 GMT 2021


Git commit 375c8cd97cbf450017ce00641012db40490f545a by Yuri Chornoivan.
Committed on 10/03/2021 at 07:26.
Pushed by yurchor into branch 'master'.

Add docs for the option to keep spaces to the left of cursor when saving

M  +6    -4    doc/katepart/configuring.docbook

https://invent.kde.org/utilities/kate/commit/375c8cd97cbf450017ce00641012db40490f545a

diff --git a/doc/katepart/configuring.docbook b/doc/katepart/configuring.docbook
index 038a42a24..d2693acb7 100644
--- a/doc/katepart/configuring.docbook
+++ b/doc/katepart/configuring.docbook
@@ -775,9 +775,11 @@ specified here. To disable this, set this to <userinput>0</userinput>.</para>
 <para>The editor will automatically eliminate extra spaces at the ends of lines
 of text while saving the file.  You can select <guilabel>Never</guilabel> to
 disable this functionality, <guilabel>On Modified Lines</guilabel> to do so
-only on lines that you have modified since you last saved the document, or
+only on lines that you have modified since you last saved the document,
 <guilabel>In Entire Document</guilabel> to remove them unconditionally from the
-entire document.</para>
+entire document, or <guilabel>Except To The Left of Cursor Position</guilabel>
+to remove spaces everywhere, except to the left of the current cursor
+position.</para>
 </listitem>
 </varlistentry>
 
@@ -1218,9 +1220,9 @@ on or off.</para></listitem>
 <listitem><para><userinput>modified</userinput>, <userinput>mod</userinput>, <userinput>+</userinput> or <userinput>1</userinput>: remove trailing spaces only in
 modified lines. The modified lines are marked by the line modification system.</para></listitem>
 <listitem><para><userinput>all</userinput>, <userinput>*</userinput> or <userinput>2</userinput>: remove trailing spaces in the entire document.</para></listitem>
+<listitem><para><userinput>3</userinput>: remove trailing spaces trailing spaces except those to the left of the current cursor position.</para></listitem>
 </itemizedlist>
-<para>Since: &kde; 4.10.
-</para></listitem>
+</listitem>
 </varlistentry>
 
 <varlistentry id="variable-scrollbar-minimap">


More information about the kde-doc-english mailing list