Merge pull request #96954 from HolonProduction/highlighter-duplicate-docs

Docs: Add warning about sharing a syntax highlighter to `TextEdit`
This commit is contained in:
Rémi Verschelde 2024-09-19 17:13:30 +02:00
commit 575c3212c5
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].