From 2a302f709738dbb0c43bc6f15a40ba8f6b9aa4e8 Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Sun, 31 Oct 2021 18:34:54 +0000 Subject: Fix TextEdit mouse interactions when the last line is hidden --- doc/classes/TextEdit.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index b8e2f7f03c..400fae4aad 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -233,8 +233,9 @@ + - Returns the line and column at the given position. In the returned vector, [code]x[/code] is the column, [code]y[/code] is the line. + Returns the line and column at the given position. In the returned vector, [code]x[/code] is the column, [code]y[/code] is the line. If [code]allow_out_of_bounds[/code] is [code]false[/code] and the position is not over the text, both vector values will be set to [code]-1[/code]. @@ -453,6 +454,14 @@ Returns the number of visible lines, including wrapped text. + + + + + + Returns the total number of visible + wrapped lines between the two lines. + + -- cgit v1.2.3