AvalonEdit 5.0.1-pre

.NET Framework 3.5
This is a prerelease version of AvalonEdit.
There is a newer version of this package available.
See the version list below for details.
Install-Package AvalonEdit -Version 5.0.1-pre
dotnet add package AvalonEdit --version 5.0.1-pre
<PackageReference Include="AvalonEdit" Version="5.0.1-pre" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AvalonEdit --version 5.0.1-pre
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AvalonEdit, 5.0.1-pre"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AvalonEdit as a Cake Addin
#addin nuget:?package=AvalonEdit&version=5.0.1-pre&prerelease

// Install AvalonEdit as a Cake Tool
#tool nuget:?package=AvalonEdit&version=5.0.1-pre&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

AvalonEdit is the WPF-based text editor used in SharpDevelop. There are two builds of AvalonEdit included in this package. One that targets .NET 4.0 and one that targets .NET 3.5.

Product Versions
.NET Framework net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (44)

Showing the top 5 NuGet packages that depend on AvalonEdit:

Package Downloads

AvalonEdit style for the ShowMeTheXAML XamlDisplay control.


Code Completion for Avalon Editor from SharpDevelop http://www.icsharpcode.net/OpenSource/SD/


CodeEditor module for Gemini, providing a syntax-highlighted code editor using AvalonEdit.

Orc.CsvTextEditor The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Csv text editor library.


Package Description

GitHub repositories (54)

Showing the top 5 popular GitHub repositories that depend on AvalonEdit:

Repository Stars
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
Bring macOS “Quick Look” feature to Windows
The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
Contains some simple and commonly used WPF controls
Stride Game Engine (formerly Xenko)
Version Downloads Last updated 62,986 12/28/2021 103,301 6/1/2021
6.1.1 51,564 3/15/2021
6.1.0 18,498 3/8/2021
6.1.0-preview1 57,833 9/7/2020
6.0.1 640,195 12/30/2019
6.0.0 130,081 9/24/2019
6.0.0-rc1 3,230 9/5/2019
6.0.0-preview1 8,605 7/23/2019
6.0.0-netcore3p4alpha1 8,763 5/5/2019
5.0.4 575,778 10/14/2017
5.0.3 520,820 5/18/2016
5.0.2 1,278,744 11/14/2014
5.0.1-pre 2,460 6/28/2014 613,111 5/1/2014 1,517 4/30/2014 9,517 1/23/2014 143,150 4/2/2013 4,048 3/9/2013 13,843 5/12/2012 7,293 9/24/2011 12,418 1/16/2011

* License changed from LGPL to MIT
* New Feature: Hide mouse cursor while typing (enabled by default)
* New Feature: Highlight current line (disabled by default)
* New Feature: Overstrike mode (disabled by default)
* AvalonEdit now raises the WPF DataObject attached events on clipboard and drag'n'drop operations.
* Encoding detection now distinguishes between UTF-8 with BOM and UTF-8 without BOM. This prevents AvalonEdit from adding the BOM to existing UTF-8 files.
* Improved handling of grapheme clusters. A base character followed by a combining mark is now treated as a single character by the caret movement logic.
* Added RichText, RichTextModel and RichTextColorizer.
* Renamed the VB highlighting mode from "VBNET" to "VB"
* Changed IHighlighter API in order to support SharpDevelop's semantic C# highlighter
* The regex-based highlighting engine was moved into its own class (HighlightingEngine) to be separated from the state-tracking logic in DocumentHighlighter.
* Add FileName property to TextDocument class.
* DocumentChangeEventArgs.RemovedText/InsertedText are now of type ITextSource instead of string.
* The error-tolerant XML parser included with AvalonEdit was removed. An improved version of this parser is part of the NRefactory 5 project.
* Removed some obsolete APIs.