From 7e70f9e0b9696fab55e2d0570c6bdc8b07c14462 Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Fri, 9 Jul 2021 11:52:49 +0100 Subject: Expose and cleanup TextEdit line wrap API --- doc/classes/TextEdit.xml | 48 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index 00e15f9f2a..ce25c8c7f4 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -213,6 +213,35 @@ + + + + + + + Returns the number of the time given line is wrapped. + + + + + + + + + + + Returns the wrap index of the given line column. + + + + + + + + + Returns an array of [String] repersenting each wrapped index. + + @@ -346,6 +375,15 @@ Returns whether the menu is visible. Use this instead of [code]get_menu().visible[/code] to improve performance (so the creation of the menu is avoided). + + + + + + + Returns if the given line is wrapped. + + @@ -686,8 +724,8 @@ If [code]true[/code], the native virtual keyboard is shown when focused on platforms that support it. - - If [code]true[/code], enables text wrapping when it goes beyond the edge of what is visible. + + Sets the line wrapping mode to use. @@ -748,6 +786,12 @@ + + Line wrapping is disabled. + + + Line wrapping occurs at the control boundary, beyond what would normally be visible. + -- cgit v1.2.3