AvalonEdit
ICSharpCode.AvalonEdit.Document Namespace
NamespacesICSharpCode.AvalonEdit.Document
This namespace contains the document model. The most important class here is TextDocument, which represents document that can be displayed and edited in the text editor.
Declaration Syntax
C#Visual BasicVisual C++
namespace ICSharpCode.AvalonEdit.Document
Namespace ICSharpCode.AvalonEdit.Document
namespace ICSharpCode.AvalonEdit.Document
Types
All TypesClassesStructuresInterfacesEnumerations
IconTypeDescription
AnchorMovementType
Defines how a text anchor moves.

AnchorSegment
A segment using TextAnchors as start and end positions.

CaretPositioningMode
Specifies the mode for getting the next caret position.

TextDocumentWeakEventManager..::..Changed
Weak event manager for the Changed event.

TextDocumentWeakEventManager..::..Changing
Weak event manager for the Changing event.

CharacterClass
Classifies a character as whitespace, line terminator, part of an identifier, or other.

DocumentChangeEventArgs
Describes a change of the document text. This class is thread-safe.

DocumentLine
Represents a line inside a TextDocument.

DocumentTextWriter
A TextWriter implementation that directly inserts into a document.

IDocument
A document representing a source code file for refactoring. Line and column counting starts at 1. Offset counting starts at 0.

IDocumentLine
A line inside a IDocument.

ILineTracker
Allows for low-level line tracking.

ISegment
An (Offset,Length)-pair.

ISegmentExtensions
Extension methods for ISegment.

ITextAnchor
The TextAnchor class references an offset (a position between two characters). It automatically updates the offset when text is inserted/removed in front of the anchor.

ITextSource
A read-only view on a (potentially mutable) text source. The IDocument interface derives from this interface.

ITextSourceVersion
Represents a version identifier for a text source.

IUndoableOperation
This Interface describes a the basic Undo/Redo operation all Undo Operations must implement this interface.

TextDocumentWeakEventManager..::..LineCountChanged Obsolete.
Weak event manager for the LineCountChanged event.

OffsetChangeMap
Describes a series of offset changes.

OffsetChangeMapEntry
An entry in the OffsetChangeMap. This represents the offset of a document change (either insertion or removal, not both at once).

OffsetChangeMappingType
Contains predefined offset change mapping types.

RopeTextSource
Implements the ITextSource interface using a rope.

StringTextSource
Implements the ITextSource interface using a string.

TextAnchor
The TextAnchor class references an offset (a position between two characters). It automatically updates the offset when text is inserted/removed in front of the anchor.

TextDocumentWeakEventManager..::..TextChanged
Weak event manager for the TextChanged event.

TextChangeEventArgs
Describes a change of the document text. This class is thread-safe.

TextDocument
This class is the main class of the text model. Basically, it is a StringBuilder with events.

TextDocumentWeakEventManager
Contains weak event managers for the TextDocument events.

TextDocumentWeakEventManager..::..TextLengthChanged Obsolete.
Weak event manager for the TextLengthChanged event.

TextLocation
A line/column position. Text editor lines/columns are counted started from one.

TextLocationConverter
TextSegment
A segment that can be put into a TextSegmentCollection<(Of <(<'T>)>)>.

TextSegmentCollection<(Of <(<'T>)>)>

A collection of text segments that supports efficient lookup of segments intersecting with another segment.


TextSourceVersionProvider
Provides ITextSourceVersion instances.

TextUtilities
Static helper methods for working with text.

UndoStack
Undo stack implementation.

TextDocumentWeakEventManager..::..UpdateFinished
Weak event manager for the UpdateFinished event.

TextDocumentWeakEventManager..::..UpdateStarted
Weak event manager for the UpdateStarted event.

WeakLineTracker
Allows registering a line tracker on a TextDocument using a weak reference from the document to the line tracker.