Description
AvaloniaEdit is a text editor control for Avalonia, the cross-platform .NET UI framework. It is a port of AvalonEdit, a WPF-based editor. The control supports syntax highlighting with TextMate grammars and themes, code folding, code completion and line numbering. It also shows whitespace, line ends and tabs, uses line virtualisation, and supports multi-caret editing, word wrapping, hyperlinks and scrolling below the end of the document. The README says it is fully customizable and extensible. The project ships as two packages. Avalonia.AvaloniaEdit contains the editor itself, and AvaloniaEdit.TextMate adds TextMate integration. To get started, you create an empty Avalonia application, add the NuGet reference, include the needed styles in App.xaml, and place the editor in a window. For highlighting, you install AvaloniaEdit.TextMate, optionally with TextMateSharp.Grammars, or implement the IRegistryOptions interface for your own grammars. The source is public on GitHub.…
Highlights
- Syntax highlighting with TextMate grammars
- Code folding, completion and line numbers
- Multi-caret editing and word wrap
- Line virtualisation for large documents
- Two NuGet packages
Ratings & Reviews
No ratings yet
Be the first to rate AvaloniaEdit.
People also visit
AvaloniaVisualBasic6
A recreation of the classic Visual Basic 6 IDE and language in C# with Avalonia
AvaloniaEdit FAQ
What is AvaloniaEdit?
A text editor control for Avalonia, ported from the WPF editor AvalonEdit.
What can it do?
Syntax highlighting with TextMate, code folding, code completion, line numbers, multi-caret editing, word wrapping and hyperlinks, according to the README.
How do I add it to a project?
Create an empty Avalonia application, add the NuGet reference to the latest version, include the styles in App.xaml, and add the editor to your window.
How do I get syntax highlighting?
Install the AvaloniaEdit.TextMate package, and optionally TextMateSharp.Grammars for the bundled grammars, or implement IRegistryOptions for your own.
Is it open source?
Yes. The source is public on GitHub under the AvaloniaUI organisation.
What are the best AvaloniaEdit alternatives?
Popular alternatives to AvaloniaEdit include Re Editor, AvaloniaVisualBasic6 and WinUIEdit. See all AvaloniaEdit alternatives
