From 4483e01c0f070affe86580835d9f0796f4e776f3 Mon Sep 17 00:00:00 2001 From: NoryiE Date: Sun, 28 Sep 2025 13:05:59 +0000 Subject: [PATCH] deploy: 7fcf7ec3670b5277e948d741c3d0bdae7862de8b --- docs/references/elements/TextBox.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/references/elements/TextBox.md b/docs/references/elements/TextBox.md index b766c8d..a835b0e 100644 --- a/docs/references/elements/TextBox.md +++ b/docs/references/elements/TextBox.md @@ -15,6 +15,11 @@ Extends: `VisualElement` |editable|boolean|true|Whether text can be edited| |syntaxPatterns|table|{}|Syntax highlighting patterns| |cursorColor|number|nil|Color of the cursor| +|autoPairEnabled|boolean|true|Whether automatic bracket/quote pairing is enabled| +|autoPairCharacters|table|{|["("]=")", ["["]="]", ["{"]="}", ['"']='"', ['\'']='\'', ['`']='`'} Mapping of opening to closing characters for auto pairing| +|autoPairSkipClosing|boolean|true|Skip inserting a closing char if the same one is already at cursor| +|autoPairOverType|boolean|true|When pressing a closing char that matches the next char, move over it instead of inserting| +|autoPairNewlineIndent|boolean|true|On Enter between matching braces, create blank line and keep closing aligned| |autoCompleteEnabled|boolean|false|Whether autocomplete suggestions are enabled| |autoCompleteItems|table|{}|List of suggestions used when no provider is supplied| |autoCompleteProvider|function|nil|Optional suggestion provider returning a list for the current prefix|