AvalonEdit
ScintillaNET
Our great sponsors
AvalonEdit | ScintillaNET | |
---|---|---|
3 | 4 | |
1,760 | 946 | |
1.4% | - | |
5.1 | 0.0 | |
about 1 month ago | 7 months 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.
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.
ScintillaNET
-
I made a thing
I'm using the ScintillaNET NuGet package. It had its last update 6 years ago. Its last repo commit 5 years ago. The documentation... is lacking - for example, copying example code from there immediately gave me obsolete warnings. Still, this was simply the only library I could find for this.
-
How to add numbers to edge of textbox? Like image below title
If you're using Windows Forms, you can also take a look at ScintillaNET (or for WPF inside of a WindowsFormsHost).
-
Added Support for Visual Studio Themes in My Docking Application!
It’s actually WinForms 😄. I’m using dockpanelsuite, DarkUI, and ScintillaNET. I forked the dockpanelsuite and DarkUI repos. My modifications to dockpanelsuite adds a docking manager and ability to use extra (non-default) theme files from a vstheme.gz format that the documentation specifies. I then extended DarkUI to accept ThemeBase objects and apply the necessary drawing/coloring styles to the controls.
- Notepad++ v8 release
What are some alternatives?
FastColoredTextBox - Fast Colored TextBox for Syntax Highlighting. The text editor component for .NET.
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.
Eto.Forms - Cross platform GUI framework for desktop and mobile applications in .NET
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.
Xamarin.Forms - Xamarin.Forms Official Home
MahApps.Metro - A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
Dragablz - Dragable and tearable tab control for WPF
MaterialDesignInXamlToolkit - Google's Material Design in XAML & WPF, for C# & VB.Net.