Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

AvaloniaEdit

> 开发工具
Open source

Avalonia-based text editor (port of AvalonEdit)

1.1K stars0 likes2 views
WebsiteGitHub

About

Avalonia-based text editor (port of AvalonEdit)

AvaloniaEdit

This project is a port of AvalonEdit, a WPF-based text editor for Avalonia.

AvaloniaEdit supports features like:

  • Syntax highlighting using TextMate grammars and themes.
  • Code folding.
  • Code completion.
  • Fully customizable and extensible.
  • Line numeration.
  • Display whitespaces EOLs and tabs.
  • Line virtualization.
  • Multi-caret edition.
  • Intra-column adornments.
  • Word wrapping.
  • Scrolling below document.
  • Hyperlinks.

and many,many more!

AvaloniaEdit currently consists of 2 packages

  • Avalonia.AvaloniaEdit well-known package that incudes text editor itself.
  • AvaloniaEdit.TextMate package that adds TextMate integration to the AvaloniaEdit.

Getting started

How to set up a new project that displays an AvaloniaEdit editor?

  • Create an empty Avalonia application.
  • Add a the nuget reference to the latest version: ``
  • Include the needed styles into your `` in your App.xaml:
    xaml
    
      
        
    
        
        
    
      
    
  • Finally, add the AvaloniaEdit editor into your window:
    xaml
    
      ...
      
      ...
    

You can see the Demo Application as a reference.

How to set up TextMate theme and syntax highlighting for my project?

First of all, if you want to use grammars supported by TextMateSharp, should install the following packages:

  • AvaloniaEdit.TextMate
  • TextMateSharp.Grammars

Alternatively, if you want to support your own grammars, you just need to install the AvaloniaEdit.TextMate package, and implement IRegistryOptions interface, that's currently the easiest way in case you want to use AvaloniaEdit with the set of grammars different from in-bundled TextMateSharp.Grammars.

…

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#avaloniacode-editoreditornetstandard

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具