Commit 8c677211 authored by Francis Laniel's avatar Francis Laniel Committed by Christoph Cullmann
Browse files

Add documentation for copy, cut and paste view functions.

These functions were added in KTextEditor commit 8a8c98ab.
parent 70219969
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment