[utilities/kate] doc/katepart: Add documentation for copy, cut and paste view functions.
Christoph Cullmann
null at kde.org
Tue Jan 19 22:20:47 GMT 2021
Git commit 8c677211dcde83ef1b7216bc655405b214203df4 by Christoph Cullmann, on behalf of Francis Laniel.
Committed on 19/01/2021 at 22:20.
Pushed by cullmann into branch 'master'.
Add documentation for copy, cut and paste view functions.
These functions were added in KTextEditor commit 8a8c98ab.
M +33 -0 doc/katepart/development.docbook
https://invent.kde.org/utilities/kate/commit/8c677211dcde83ef1b7216bc655405b214203df4
diff --git a/doc/katepart/development.docbook b/doc/katepart/development.docbook
index 8b4b89742..fffedaf61 100644
--- a/doc/katepart/development.docbook
+++ b/doc/katepart/development.docbook
@@ -2036,6 +2036,39 @@ view. The following is a list of all available View functions.
<variablelist>
+<varlistentry>
+<term><synopsis>
+<function>void view.copy()</function>
+</synopsis></term>
+<listitem>
+<para>Copy the selection if there is one, otherwise the current line if the option <userinput>[ ] Copy/Cut the current line if no selection</userinput> is set.</para>
+<para>Since: &kde-frameworks; 5.79</para>
+</listitem>
+</varlistentry>
+
+
+<varlistentry>
+<term><synopsis>
+<function>void view.cut()</function>
+</synopsis></term>
+<listitem>
+<para>Cut the selection if there is one, otherwise the current line if the option <userinput>[ ] Copy/Cut the current line if no selection</userinput> is set.</para>
+<para>Since: &kde-frameworks; 5.79</para>
+</listitem>
+</varlistentry>
+
+
+<varlistentry>
+<term><synopsis>
+<function>void view.paste()</function>
+</synopsis></term>
+<listitem>
+<para>Paste the clipboard content.</para>
+<para>Since: &kde-frameworks; 5.79</para>
+</listitem>
+</varlistentry>
+
+
<varlistentry>
<term><synopsis>
<function>Cursor view.cursorPosition()</function>
More information about the kde-doc-english
mailing list