@@ -110,6 +110,7 @@ textBox.EnableSyntaxHighlighting = true;
110110- ` EndActionGroup ` : Ends the grouping of undo redo items
111111- ` SelectionScrollStartBorderDistance ` : Gets or sets the mouse distance from the text box edge that triggers auto-scroll during selection
112112- ` ShowWhitespaceCharacters ` : Gets or sets whether spaces and tabs are visually shown in the text box (e.g. as dots or arrows)
113+ - ` HighlightLinks ` : Gets or sets, whether links inside the text are highlighted and clickable
113114- ` Focus(FocusState state) ` : Sets focus to the control.
114115- ` SelectLine(int line) ` : Selects a specific line.
115116- ` SelectLines(int start, int count) ` : Selects a range of lines.
@@ -162,6 +163,8 @@ textBox.EnableSyntaxHighlighting = true;
162163- ` SyntaxHighlightings ` : Static dictionary of syntax languages.
163164- ` GetSyntaxHighlightingFromID(SyntaxHighlightID languageId) ` : Gets highlighting language.
164165- ` GetSyntaxHighlightingFromJson(string json) ` : Loads highlighting from JSON.
166+ - ` RewriteTabsSpaces(int spaces, bool useSpacesInsteadTabs) ` : Changes the current indentation of the text to a new indentation.
167+ - ` DetectTabsSpaces() ` : Detects and returns the current indentation of the text as tuple
165168</details >
166169
167170## 🚀 Events
@@ -174,12 +177,15 @@ TextControlBox provides several events to handle user interactions:
174177- ` GotFocus ` / ` LostFocus ` : Handle focus changes.
175178- ` TextLoadedEvent ` : Occurs when the TextControlBox finished loading the text.
176179- ` Loaded ` : Occurs when the TextControlBox finished loading and all components initialized
180+ - ` TabsSpacesChanged ` : Occurs when the tabs or spaces change, from LoadLines/LoadText or from properties
181+ - ` LineEndingChanged ` : Occurs when the line ending changes, from LoadLines/LoadText or from property
182+ - ` LinkClicked ` : Occures when a link inside the textbox was clicked (contains the url as parameter)
177183
178184## 🎨 Syntax Highlighting
179185
180186TextControlBox includes built-in support for multiple languages:
181187
182- - C#, C++, Java, Python, JavaScript, JSON, HTML, CSS, SQL, Markdown, Batch, Config, CSV, LaTex, PHP, QSharp, TOML, XML, G-Code, Lua, Hex
188+ - C#, C++, Java, Python, JavaScript, JSON, x86Assembly, HTML, CSS, SQL, Markdown, Batch, Config (Ini, Klipper -Styles) , CSV, LaTex, PHP, QSharp, TOML, XML, G-Code, Lua, Hex
183189
184190Enable syntax highlighting:
185191
0 commit comments