HandyControl
AvalonEdit
Our great sponsors
HandyControl | AvalonEdit | |
---|---|---|
3 | 3 | |
5,604 | 1,760 | |
2.4% | 1.4% | |
8.1 | 5.1 | |
14 days ago | 29 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
HandyControl
AvalonEdit
-
How should i go about making a library to color code (syntax highlighting) a user has written?
For the most part it's best to just use something like AvalonEdit that already implements it for you. There's some documentation and if you dig a long time ago there was a book about how it was made (along with SharpDevelop) that may still be findable.
-
Better approach for sending text from worker thread to UI thread?
I lied in the OP. The text box I'm using is actually the AvalonEdit text editor and it apparently doesn't support binding and they think it would cause performance issues: https://github.com/icsharpcode/AvalonEdit/issues/84
-
I made a thing
Not OP, but at work I recently implemented an HTML/CSS/JS code editor and used AvalonEdit to great effect for syntax highlighting in a large multi-line textbox. I was also able to add custom linting via regexs and it's got custom theming capabilities. Super happy with it.
What are some alternatives?
MaterialDesignInXamlToolkit - Google's Material Design in XAML & WPF, for C# & VB.Net.
FastColoredTextBox - Fast Colored TextBox for Syntax Highlighting. The text editor component for .NET.
MahApps.Metro - A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
ScintillaNET - A Windows Forms control, wrapper, and bindings for the Scintilla text editor.
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.
UWP Community Toolkit - The Windows Community Toolkit is a collection of helpers, extensions, and custom controls. It simplifies and demonstrates common developer tasks building .NET apps with UWP and the Windows App SDK / WinUI 3 for Windows 10 and Windows 11. The toolkit is part of the .NET Foundation.
Dragablz - Dragable and tearable tab control for WPF
metroframework-modern-ui - My humble attempt to bring the new Modern UI alias Metro UI of Windows 8 to .NET Windows Forms applications.
Xamarin.Forms - Xamarin.Forms Official Home
Bunifu UI Framework - Social App dark UI built with Bunifu UI Framework Ultimate Bundle