From 8aecdaa6f086d1e77537fbe131068f15eaa56212 Mon Sep 17 00:00:00 2001 From: Jason Anderson Date: Wed, 25 Oct 2017 13:15:39 -0500 Subject: [PATCH] Added descriptions to RichTextLabel --- doc/classes/RichTextLabel.xml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/doc/classes/RichTextLabel.xml b/doc/classes/RichTextLabel.xml index c28a2b26b4a..7f9955d29b2 100644 --- a/doc/classes/RichTextLabel.xml +++ b/doc/classes/RichTextLabel.xml @@ -31,6 +31,7 @@ + Adds BBCode to the text label. @@ -39,24 +40,28 @@ + Clears the label's text. + Returns label's BBCode. + Returns the number of lines in the text. + Returns the text's visibility as a floating point value between 0.0 and 1.0. @@ -69,13 +74,14 @@ - Returns the raw text, stripping out the formatting information. + Returns the label's text with the formatting removed. + Returns the total number of characters. @@ -94,6 +100,7 @@ + Returns the number of visible lines. @@ -112,6 +119,7 @@ + Returns [code]true[/code] if active scrolling is enabled. @@ -124,19 +132,21 @@ - Return true if selecting the text inside this richtext is allowed. + Returns [code]true[/code] if the label's text can be selected. + Returns [code]true[/code] if the label has BBCode. + Adds a newline to the end of the rich text. @@ -243,6 +253,7 @@ + Sets the BBCode text to the label. @@ -267,6 +278,7 @@ + Sets the text's visibility. Takes a floating point value between 0.0 and 1.0. @@ -291,7 +303,7 @@ - Set to true if selecting the text inside this richtext is allowed. + If [code]true[/code] text can be selected. @@ -341,14 +353,19 @@ + If [code]true[/code] the label uses BBCode formatting. Default value: [code]false[/code]. + The label's text in BBCode format. + If [code]true[/code] the label uses the custom font color. Default value: [code]false[/code]. + The text's visibility, as a [float] between 0.0 and 1.0. + The restricted number of characters to display in the label.