Git commit d65bb829893882a997ba238794436c56863552b7 by Yuri Chornoivan. Committed on 05/10/2021 at 16:35. Pushed by yurchor into branch 'master'.
Sync docs with the current ktexteditor interface M +17 -6 doc/katepart/configuring.docbook https://invent.kde.org/utilities/kate/commit/d65bb829893882a997ba238794436c56863552b7 diff --git a/doc/katepart/configuring.docbook b/doc/katepart/configuring.docbook index ff03b5829..315424af1 100644 --- a/doc/katepart/configuring.docbook +++ b/doc/katepart/configuring.docbook @@ -859,7 +859,7 @@ one is not already present upon saving the file.</para> <variablelist> <varlistentry> -<term><guilabel>Backup on Save</guilabel></term> +<term><guilabel>Write a backup file on save for</guilabel></term> <listitem><para>Backing up on save will cause &kappname; to copy the disk file to <prefix><filename><suffix> before saving changes. The suffix defaults to <emphasis role="bold">~</emphasis> and prefix is empty by @@ -879,19 +879,19 @@ saving.</para> </listitem> </varlistentry> <varlistentry> -<term><guilabel>Prefix</guilabel></term> +<term><guilabel>Prefix for backup files</guilabel></term> <listitem> <para>Enter the prefix to prepend to the backup file names.</para> </listitem> </varlistentry> <varlistentry> -<term><guilabel>Suffix</guilabel></term> +<term><guilabel>Suffix for backup files</guilabel></term> <listitem> <para>Enter the suffix to add to the backup file names.</para> </listitem> </varlistentry> <varlistentry> -<term><guilabel>Swap file options</guilabel></term> +<term><guilabel>Swap file mode</guilabel></term> <listitem> <para>&kappname; is able to recover (most of) what was written after last save in case of a crash or power failure. A swap file (.swp.<filename>) is created @@ -905,11 +905,22 @@ one, too. The swap file is deleted after every save and on normal exit.</para> 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 Directory</guilabel> is chosen, swap files are created in the specified folder. +<para>When the swap file is enabled, it is possible to switch between two modes, namely <guilabel>Enabled, Store in Default Directory</guilabel> and <guilabel>Enabled, Store in Custom Directory</guilabel>. +</para> +</listitem> +</varlistentry> +<varlistentry> +<term><guilabel>Store swap files in</guilabel></term> +<listitem><para>By default, the swap files are saved in the same folder as the file. +When <guilabel>Enabled, Store in Custom Directory</guilabel> is chosen for the swap file mode, swap files are created in the specified folder. This is useful for network file systems to avoid unnecessary network traffic.</para> </listitem> </varlistentry> +<varlistentry> +<term><guilabel>Save swap files every</guilabel></term> +<listitem><para>&kappname; syncs the swap files on the disk every 15 seconds, but only if they +have changed since the last sync. You can change the sync interval as you like.</para></listitem> +</varlistentry> </variablelist> </listitem>
