Docs: Add warning about sharing a syntax highlighter to `TextEdit`

This commit is contained in:
HolonProduction 2024-09-13 11:55:12 +02:00 committed by Rémi Verschelde
parent 694d3c2930
commit 30ad025f8d
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 1 deletions

View File

@ -1361,7 +1361,8 @@
Set additional options for BiDi override. Set additional options for BiDi override.
</member> </member>
<member name="syntax_highlighter" type="SyntaxHighlighter" setter="set_syntax_highlighter" getter="get_syntax_highlighter"> <member name="syntax_highlighter" type="SyntaxHighlighter" setter="set_syntax_highlighter" getter="get_syntax_highlighter">
Sets the [SyntaxHighlighter] to use. The syntax highlighter to use.
[b]Note:[/b] A [SyntaxHighlighter] instance should not be used across multiple [TextEdit] nodes.
</member> </member>
<member name="text" type="String" setter="set_text" getter="get_text" default="&quot;&quot;"> <member name="text" type="String" setter="set_text" getter="get_text" default="&quot;&quot;">
String value of the [TextEdit]. String value of the [TextEdit].