Releases: FrozenAssassine/TextControlBox-WinUI
V1.5.0
- Added clickable links inside the text
- Added x86Assembly language support by @RysteQ
- Added auto detection for tabs and spaces on LoadLines and LoadText
- Added RewriteTabsSpaces function for changing the indentation of the text
- Added LineEndingChanged and TabsSpacesChanged event
- Changed NumberOfSpacesForTab and UseSpacesInsteadTabs to only change the behavior of the tab key and not the rendering of existing tabs in the text
- Separated config file highlighting into ini, toml and klipper kind of styles
- Rewrote markdown syntaxhighlighter completely
- Fix a problem where dragging at the end of a line releasing the mouse and clicking somewhere else drawed a selection.
- Small fixes in C# and C++ syntaxhighlighting
V1.4.0
- Added whitespace and tab visualizer using dots and arrows symbols in text
- Drastically improved rendering speed for text and selection
- Added a property to control the padding in which selection scrolling activates (SelectionScrollStartBorderDistance)
- Fixed an issue, where tabs did not zoom correctly due to rounding errors
- Fixed selection rendering issues
V1.3.0
- Added undo redo action grouping
- Added AddLines function to add multiple lines of text
V1.2.0
- Added LUA syntax highlighting
- Added undo redo enabled/disabled property
V1.1.5
- Fixed CR line ending not calculating the longest line properly
- Fixed Python function names not being highlighted correctly
- Fixed undo/redo not working when deleting an empty line
- Fixed deleting empty lines not working properly
V1.1.4
- Fixed a bug which did not remove all lines properly when doing undo and added lines when redo
- Fixed delete line functionality
V1.1.3
V1.1.3
🛠 Fixes
- Added horizontal scroll margin to the right, so cursor is always visible
- Fixed textbox in tabview triggering load event on every tab switch
- Fixed wrong and missing horizontal scroll position calculations while typing
- Fixed zooming not calculating horizontal scroll offset
- Fixed tab character with wrong cursor/selection and undo redo buggy
V1.1.2
V1.1.1
V1.1.1
🚀 New Features & Improvements
Performance Boost: Optimized rendering, reduced memory usage, and improved batch redrawing at 60 FPS.
Better Syntax Highlighting: Regex is now compiled once on load for efficiency.
Enhanced Text Selection: Triple-click selects whole lines, and a new function allows selecting specific lines.
Improved Cursor Handling: Set cursor position more reliably, including auto-clamping and setting to the end of the text.
Auto-Indentation: Smarter tab and whitespace navigation.
🛠 Fixes & Stability
Text Handling: Fixed issues with loading lines, SetText, LoadText, and empty/null arrays.
Undo/Redo Enhancements: Restores selection and cursor state correctly, with improved special case handling.
Replace & Search: Fixed "Replace All" behavior, match case issues, and search UI inconsistencies.
Selection & Drag Issues: Removed selection drag drop functionality. Will be back in a future release
Scrolling & Rendering: Ensured smooth scrolling, proper recalculation of longest lines, and eliminated ghost selections.
Stability Fixes: Addressed syntax highlighting crashes, missing textChange events, and various exception handling improvements.
🔧 Refactoring & Cleanup
Codebase Optimization: Removed redundant calls, improved sorting logic, and converted undo items from struct to class.
Metadata Update: Renamed "code language" to "syntax highlighting" and refined NuGet package details.
⚡ A more stable, efficient, and feature-rich release!
v1.1.0-alpha.3
V1.1.0-alpha.3
Fixed issues with loading lines, SetText, LoadText, and allowing null/empty arrays.
Fixed selection behavior when replacing text.
Fixed "Replace All" not working with an empty string.
Fixed requirement to open search before using "Replace All".
Fixed drag-and-drop behavior for selected lines.
Fixed deletion of the last line, ensuring it works even when no text is present.
Fixed syntax highlighting crashes when encountering null values.
Removed selection drag-and-drop due to multiple issues.