Microsoft.VisualStudio.Extensibility.Editor Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
ContainerMarginPlacement.KnownValues |
Well-known ContainerMarginPlacement values for container margins supplied by Visual Studio. |
DocumentType.KnownValues |
Known document types extensions can target or derive their custom document types from. |
DocumentTypeConfiguration |
Allows declaring a new document type. |
EditorExtensibility |
Framework object exposing methods for getting and interacting with ITextViewSnapshots and ITextDocumentSnapshots and performing document edits and other state changes. |
EditorOption<T,S> |
Base class for declaring an editor option. |
EditorOptionValue<T> |
The value of an editor option. |
EditResponse |
Describes the cumulative result of a call to EditAsync(Action<IEditBatch>, CancellationToken). |
KnownDocumentOptions |
Enumerates known text document options. |
KnownViewOptions |
Enumerates known text document options. |
MarginPlacement.KnownValues |
Well-known MarginPlacement values for margins supplied by Visual Studio. |
TextDocumentOption<T> |
Base class for declaring a text document option. |
TextDocumentSnapshotEditResponse |
Describes the outcome of a call to EditAsync(Action<IEditBatch>, CancellationToken) for changes to a particular ITextDocumentSnapshot in the host Visual Studio process. |
TextEdit |
A list of changes applied to a ITextDocumentSnapshot. |
TextExtensions | |
TextViewChangedArgs |
Arguments for a text view change. |
TextViewEditResponse |
Describes the outcome of a call to EditAsync(Action<IEditBatch>, CancellationToken) for changes to a particular ITextViewSnapshot in the host Visual Studio process. |
TextViewExtensionConfiguration |
Configuration for an ITextViewListener extension part. |
TextViewMarginProviderConfiguration |
Configuration for an ITextViewMarginProvider extension part. |
TextViewOption<T> |
Base class for declaring a text view option. |
Structs
ContainerMarginPlacement |
Identifies a text view margin that contains other margins. |
DocumentType |
A document type identifies document content as belonging to a specific category, such as of some programming language or more generally just as code or as text. Visual Studio enables various features based on current document type, while extensions use document type to define their activation criteria. An extension can define a new document type and map it to file extensions using DocumentTypeConfiguration. |
MarginPlacement |
Identifies a text view margin placement. |
Selection |
Manages the insertion, anchor, and active positions for a single caret and its associated selection. |
TextPosition |
An immutable text position in a particular ITextDocumentSnapshot version. |
TextRange |
An immutable text range in a particular ITextDocumentSnapshot version. |
TextRange.Enumerator |
Interfaces
IEditable<TEditor> |
Immutable object that supports being asynchronously editable via a call to EditorExtensibility.EditAsync(System.Action<IEditBatch>, System.Threading.CancellationToken) |
IEditBatch |
Exposes a way to acquire an instance of a object for modifying some IEditable<TEditor>. |
IEditorHostService |
Rehydrates Editor RPC contracts into thick objects. |
IEditorOption<T> |
Base class for declaring a text view option. |
IEditorOptionValue |
The value of an editor option. |
ITextDocumentEditor |
Exposes methods for changing an immutable ITextDocumentSnapshot instance. |
ITextDocumentSnapshot |
Provides read access to an immutable version of a document in the file system, in memory in this process, or remoted from the host Visual Studio. |
ITextDocumentSnapshotLine |
Provides read access to a line in an immutable version of a document in the file system, in memory in this Service Hub extension, or remoted from the host Visual Studio. |
ITextViewChangedListener |
Extensibility point for listening for ITextViewSnapshots to be changed. |
ITextViewEditor |
Exposes methods for changing an immutable ITextViewSnapshot instance. |
ITextViewExtension |
Base interface for extensibility points of text views. |
ITextViewMarginProvider |
Extensibility point for providing text view margins. |
ITextViewMarginProviderBase |
This interface is for internal use, implement ITextViewMarginProvider instead. |
ITextViewOpenClosedListener |
Extensibility point for listening for ITextViewSnapshots to be opened and closed. |
ITextViewSnapshot |
Provides immutable, read access to properties of a text editor remoted from the host Visual Studio. |
Enums
TextPositionTrackingMode |
Represents tracking modes for TextPositions across versions of an ITextDocumentSnapshot. |
TextRangeTrackingMode |
Represents tracking modes for TextRange objects. |
TextViewMarginGridUnitType |
Describes the kind of value that GridCellLength object is holding. |