diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2019-12-20 23:55:09 +0100 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2019-12-21 10:45:26 +0100 |
commit | abbff65dc835af0487492845c83c7392a53b971d (patch) | |
tree | 2e107a1fbec197115d2b228e6ca2e496e00bdcf7 | |
parent | 48edf6333029fc961528892af190201197b44c40 (diff) |
Mention that bbcode_text += string is a bad idea
-rw-r--r-- | doc/classes/RichTextLabel.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/RichTextLabel.xml b/doc/classes/RichTextLabel.xml index 2962391b99..2567b64c03 100644 --- a/doc/classes/RichTextLabel.xml +++ b/doc/classes/RichTextLabel.xml @@ -278,6 +278,7 @@ </member> <member name="bbcode_text" type="String" setter="set_bbcode" getter="get_bbcode" default=""""> The label's text in BBCode format. Is not representative of manual modifications to the internal tag stack. Erases changes made by other methods when edited. + [b]Note:[/b] It is unadvised to use [code]+=[/code] operator with [code]bbcode_text[/code] (e.g. [code]bbcode_text += "some string"[/code]) as it replaces the whole text and can cause slowdowns. Use [method append_bbcode] for adding text instead. </member> <member name="custom_effects" type="Array" setter="set_effects" getter="get_effects" default="[ ]"> </member> |