diff --git a/doc/katepart/development.docbook b/doc/katepart/development.docbook
--- a/doc/katepart/development.docbook
+++ b/doc/katepart/development.docbook
@@ -1960,6 +1960,25 @@
Clears the text selection without removing the text.
+
+
+
+object view.executeCommand(String command,
+ String args,
+ Range range);
+
+
+Executes the command line command command
+with the optional arguments args and the optional range.
+The returned object has a boolean proberty object.ok
+that indicates whether execution of the command was successful.
+In case of an error, the string object.status contains an error message.
+
+Since: &kde-frameworks; 5.50
+
+
+
+
@@ -2814,6 +2833,51 @@
+
+
+
+The Editor API
+
+In addition to the document and view API, there is a general editor API that
+provides functions for general editor scripting functionality.
+
+
+
+String editor.clipboardText();
+
+
+Returns the text that currently is in the global clipboard.
+
+Since: &kde-frameworks; 5.50
+
+
+
+
+
+String editor.clipboardHistory();
+
+
+The editor holds a clipboard history that contains up to 10 clipboard entries.
+This function returns all entries that currently are in the clipboard history.
+
+Since: &kde-frameworks; 5.50
+
+
+
+
+
+void editor.setClipboardText(String text);
+
+
+Set the contents of the clipboard to text.
+The text will be added to the clipboard history.
+
+Since: &kde-frameworks; 5.50
+
+
+
+
+