summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-12-21 14:38:54 +0100
committerGitHub <noreply@github.com>2019-12-21 14:38:54 +0100
commit0b776ebbe4105c5ef3b1c6314157f76be58227b7 (patch)
tree0cd2a96300d7108f5954057d4e5d7844ae5e7b23 /doc/classes
parent2019d8001db3da44f7b3a6833e0d6c5ff5d8989f (diff)
parentabbff65dc835af0487492845c83c7392a53b971d (diff)
Merge pull request #34498 from KoBeWi/bad_idea
Mention that bbcode_text += string is a bad idea
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/RichTextLabel.xml1
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="&quot;&quot;">
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>