AvalonEdit
ICSharpCode.AvalonEdit.Editing Namespace
NamespacesICSharpCode.AvalonEdit.Editing
This namespace is the home of the TextArea class. It manages user input and handles the caret and the selection.
Declaration Syntax
C#Visual BasicVisual C++
namespace ICSharpCode.AvalonEdit.Editing
Namespace ICSharpCode.AvalonEdit.Editing
namespace ICSharpCode.AvalonEdit.Editing
Types
All TypesClassesInterfaces
IconTypeDescription
AbstractMargin
Base class for margins. Margins don't have to derive from this class, it just helps maintaining a reference to the TextView and the TextDocument. AbstractMargin derives from FrameworkElement, so if you don't want to handle visual children and rendering on your own, choose another base class for your margin!

Caret
Helper class with caret-related methods.

CaretWeakEventManager
Contains classes for handling weak events on the Caret class.

DottedLineMargin
Margin for use with the text area. A vertical dotted line to separate the line numbers from the text view.

DragDropException
Wraps exceptions that occur during drag'n'drop. Exceptions during drag'n'drop might get swallowed by WPF/COM, so AvalonEdit catches them and re-throws them later wrapped in a DragDropException.

IReadOnlySectionProvider
Determines whether the document can be modified.

ITextAreaInputHandler
A set of input bindings and event handlers for the text area.

LineNumberMargin
Margin showing line numbers.

CaretWeakEventManager..::..PositionChanged
Handles the Caret.PositionChanged event.

RectangleSelection
Rectangular selection ("box selection").

Selection
Base class for selections.

SelectionSegment
Represents a selected segment.

TextArea
Control that wraps a TextView and adds support for user input and the caret.

TextAreaDefaultInputHandler
Contains the predefined input handlers.

TextAreaInputHandler
Default-implementation of ITextAreaInputHandler.

TextAreaStackedInputHandler
Stacked input handler. Uses OnEvent-methods instead of registering event handlers to ensure that the events are handled in the correct order.

TextEventArgs
EventArgs with text.

TextSegmentReadOnlySectionProvider<(Of <(<'T>)>)>
Implementation for IReadOnlySectionProvider that stores the segments in a TextSegmentCollection<(Of <(<'T>)>)>.