C# (CSharp) AvalonStudio.TextEditor.Document Namespace

Classes

Name Description
DocumentChangeEventArgs
DocumentChangeOperation Describes a change to a TextDocument.
DocumentLine Represents a line inside a TextDocument.
DocumentTextWriter A TextWriter implementation that directly inserts into a document.
LineManager
NewLineFinder
RopeTextSource
StringTextSource
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.
TextAnchorNode A TextAnchorNode is placed in the TextAnchorTree. It describes a section of text with a text anchor at the end of the section. A weak reference is used to refer to the TextAnchor. (to save memory, we derive from WeakReference instead of referencing it)
TextAnchorTree
TextChangeEventArgs
TextDocument This class is the main class of the text model. Basically, it is a System.Text.StringBuilder with events.
TextSegment A segment that can be put into a TextSegmentCollection{T}.
TextSourceVersionProvider Provides ITextSourceVersion instances.
TextSourceVersionProvider.Version
TextUtilities
UndoOperationGroup This class stacks the last x operations from the undostack and makes one undo/redo operation from it.
UndoStack
WeakLineTracker Allows registering a line tracker on a TextDocument using a weak reference from the document to the line tracker.