From 838c9d37b4a2fbceff07e859a52838473e00850e Mon Sep 17 00:00:00 2001 From: ConteZero Date: Tue, 12 Oct 2021 09:43:50 +0200 Subject: Added primary clipboard for Linux --- doc/classes/DisplayServer.xml | 15 +++++++++++++++ doc/classes/LineEdit.xml | 4 ++++ doc/classes/TextEdit.xml | 11 +++++++++++ 3 files changed, 30 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml index 7a467c03c1..4b43286594 100644 --- a/doc/classes/DisplayServer.xml +++ b/doc/classes/DisplayServer.xml @@ -13,6 +13,13 @@ Returns the user's clipboard as a string if possible. + + + + Returns the user's primary clipboard as a string if possible. + [b]Note:[/b] This method is only implemented on Linux. + + @@ -20,6 +27,14 @@ Sets the user's clipboard content to the given string. + + + + + Sets the user's primary clipboard content to the given string. + [b]Note:[/b] This method is only implemented on Linux. + + diff --git a/doc/classes/LineEdit.xml b/doc/classes/LineEdit.xml index 4ad71d1e80..65bf9a4179 100644 --- a/doc/classes/LineEdit.xml +++ b/doc/classes/LineEdit.xml @@ -221,6 +221,10 @@ [/csharp] [/codeblocks] + + If [code]false[/code], using middle mouse button to paste clipboard will be disabled. + [b]Note:[/b] This method is only implemented on Linux. + Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/code]. diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index 3667dbf578..bac10f0b07 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -41,6 +41,13 @@ Override this method to define what happens when the user performs a paste operation. + + + + Override this method to define what happens when the user performs a paste operation with middle mouse button. + [b]Note:[/b] This method is only implemented on Linux. + + @@ -936,6 +943,10 @@ Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead. + + If [code]false[/code], using middle mouse button to paste clipboard will be disabled. + [b]Note:[/b] This method is only implemented on Linux. + If [code]true[/code], a minimap is shown, providing an outline of your source code. -- cgit v1.2.3