TextControlBox-WinUI
TextControlBox-WinUI copied to clipboard
Winui3 textbox with syntax highlighting, line numbering and much more
IMEs are used to input CJK characters, but the following issues occur when using IMEs with this library. - The candidate popup does not appear in the correct position. -...
When replacing text, the longest line is not calculated, which results into incorrect horizontal scrolling length
## Summary I maintain a downstream consumer of TextControlBox-WinUI (a Windows search tool called **Yagu**, which embeds it as the built-in full-file editor). Over the last while I've re-architected the...
What in the code is not AOT-compliant InputHandlerControl.cs: The class inherits from TextBox and overrides OnKeyDown, but it wasn't partial. The WinRT interop tools (CsWinRT) warn because they can't generate...
Add another control on the left side of the textbox and click there. The textbox crashes
Two shortcuts are missing that I find useful: Ctrl+Home Ctrl+End Also, Home and End are not clearing the selection.
It appears that the IsReadOnly property is not wired up. In CoreTextControlBox.xaml.cs, the IsReadOnly property has a TODO comment, and TextManager._isReadOnly is never set to anything but false.
I'm using ShowLineHighlighter=true. When the TextControlBox loses focus, the line highlight goes away. It would be nice to have it stay, perhaps using a HighlightLineWhenNotFocused property.
Currently, there is no public API to check if an Undo or Redo operation is possible before calling the methods. Calling .Undo() or .Redo() repeatedly can undo the creation of...
Having the current line height is useful for using the control with other UI elements that rely on having the same height as the line height they are related to.