Microsoft.VisualStudio.Text.Editor Namespace
| Class | Description | |
|---|---|---|
![]() | AdornmentLayerDefinition | Provides information for an IAdornmentLayer export. |
![]() | AppearanceCategoryOption | Represents the appearance category option. |
![]() | AutoScrollEnabled | Defines the option to enable auto-scroll. |
![]() | BackgroundBrushChangedEventArgs | Provides information for the BackgroundBrushChanged event. |
![]() | CaretPositionChangedEventArgs | Provides information for the PositionChanged event. |
![]() | ChangeTrackingMarginEnabled | Defines the option to enable the change-tracking margin. |
![]() | CollapseHintAdornmentControl | Highlights an outlining region in the text view when the mouse hovers over this region in the outlining margin. |
![]() | ConvertTabsToSpaces | The option definition that determines whether to convert tabs to spaces. |
![]() | CutOrCopyBlankLineIfNoSelection | Defines the option to cut or copy a blank line if the selection is empty. |
![]() | DefaultOptions | Common editor default options. |
![]() | DefaultTextViewHostOptions | Represents common IWpfTextViewHost-related options. |
![]() | DefaultTextViewOptions | Defines common ITextView options. |
![]() | DefaultWpfViewOptions | Represents common IWpfTextView options. |
![]() | DeferCreationAttribute | Specifies optional deferred creation semantics. |
![]() | DisplayUrlsAsHyperlinks | The option definition that determines if URLs should be displayed as hyperlinks. |
![]() | DragDropEditing | Defines the view option for drag/drop editing. |
![]() | EditorOptionChangedEventArgs | Provides information for the OptionChanged event. |
![]() | EditorOptionDefinition | The definition of an editor option. |
![]() | EditorOptionDefinition<'T> | Represents the definition of an editor option. |
![]() | EditorStyleNames | The names of various editor components where the component's style can be defined by the program hosting the editor. |
![]() | GlyphMarginEnabled | Defines the option to enable the glyph margin. |
![]() | GridCellLengthAttribute | This class associates a grid cell size with a MEF export. |
![]() | GridUnitTypeAttribute | This class associates a GridUnitType value with a MEF export. |
![]() | HighlightCurrentLineOption | Represents the option to highlight the current line. |
![]() | HorizontalScrollBarEnabled | Defines the option to enable the horizontal scroll bar. |
![]() | ImeTextComposition | Represents a text composition generated by the IME processing of the ITextView. |
![]() | IndentSize | The option definition that determines the size (in number of spaces) of an indent. |
![]() | IntraTextAdornment | Support for intra-text adornments that are provided with IntraTextAdornmentTag objects. |
![]() | IntraTextAdornmentTag | Represents a tag that provides adornments to be interspersed with text. |
![]() | IsViewportLeftClipped | Defines the option to clip the ViewportLeft property to the width of the text. |
![]() | KeyProcessor | Processes the keyboard input of the editor. |
![]() | LineNumberMarginEnabled | Defines the option to enable the line number margin. |
![]() | LongBufferLineChunk | The option definition that determines the determines the chunking size for long lines. |
![]() | LongBufferLineThreshold | The option definition that determines the threshold for special handling of long lines. |
![]() | MarginContainerAttribute | Specifies the type of margin container. |
![]() | MouseHoverAttribute | An attribute to be placed on an event handler for MouseHover, specifying the delay between the time when the mouse stops moving and the generation of the hover event. |
![]() | MouseHoverEventArgs | Provides information for the MouseHover event. |
![]() | MouseProcessorBase | Provides a base implementation for mouse bindings, so that clients can override only the methods they need. |
![]() | MouseWheelZoomEnabled | Defines the option to enable the mouse wheel zoom |
![]() | NewLineCharacter | The option definition that specifies the newline character or characters. |
![]() | OutliningCollapsedAdornmentControl | Represents collapsed text in the text view. |
![]() | OutliningMarginBracketControl | Indicates the vertical extent of an expanded outlining region and allows the user to collapse it. |
![]() | OutliningMarginControl | Represents the outlining margin. |
![]() | OutliningMarginEnabled | Defines the option to enable the outlining margin. |
![]() | OutliningMarginHeaderControl | Enables an outlining region to be collapsed and expanded. |
![]() | OutliningUndoEnabled | The option definition that determines whether outlining is undoable. |
![]() | OverwriteMode | Defines the view option for overwrite mode. |
![]() | PredefinedAdornmentLayers | Includes the names of the adornment layers predefined by the editor. |
![]() | PredefinedMarginNames | Includes the predefined margin names. |
![]() | PredefinedTextViewRoles | The set of the names of predefined text view roles. |
![]() | ProduceScreenReaderFriendlyText | Defines the option to enable providing annotated text in automation controls so that screen readers can properly read contents of code. |
![]() | ReplacesAttribute | Specifies the name(s) of an asset that will be replaced by this asset. |
![]() | ReplicateNewLineCharacter | Determines whether to duplicate a newline character when inserting a line. |
![]() | SelectionMarginEnabled | Defines the option to enable the selection margin. |
![]() | SimpleGraphicsOption | Represents the option to draw a selection gradient as opposed to a solid color selection. |
![]() | SpaceReservationAgentChangedEventArgs | Provides information for the AgentChanged event. |
![]() | SpaceReservationManagerDefinition | Represents metadata for an ISpaceReservationManager. |
![]() | SuggestionMarginEnabled | |
![]() | TabSize | The option definition that determines the number of spaces of a tab. |
![]() | TextViewCreatedEventArgs | Provides information for the TextViewCreated event. |
![]() | TextViewLayoutChangedEventArgs | Provides information for the LayoutChanged event. |
![]() | TextViewRoleAttribute | Use this attribute to specify the kinds of TextViews to which an extension applies. |
![]() | UseReducedOpacityForHighContrastOption | |
![]() | UseVirtualSpace | Defines the option to use virtual space. |
![]() | UseVisibleWhitespace | Defines the option to use visible whitespace. |
![]() | VerticalScrollBarEnabled | Defines the option to enable the vertical scroll bar. |
![]() | ViewOptionDefinition<'T> | Defines a ITextView-specific editor option. |
![]() | ViewProhibitUserInput | Defines the Prohibit User Input option. |
![]() | ViewState | Represents the state of a view in terms of the size of its viewport (the area visible in the document window), visual snapshot, and editable snapshot. |
![]() | WordWrapStyle | Defines the word wrap style option. |
![]() | WpfTextViewKeyboardFilterName | Represents the KeyboardFilter ordering name. |
![]() | WpfViewOptionDefinition<'T> | Defines an editor option specific to an IWpfTextView. |
![]() | ZoomConstants | Defines the constants used for zoom operations. |
![]() | ZoomControl | Represents a zoom control in the text view. |
![]() | ZoomControlEnabled | Defines the option to enable the zoom control. |
![]() | ZoomLevel | |
![]() | ZoomLevelChangedEventArgs | Provides information for the ZoomLevelChanged event. |
![]() | ZoomLevelConverter | Allows conversion between string and double representations of the zoom level. |
| Structure | Description | |
|---|---|---|
![]() | CaretPosition | Represents the position of a caret in an ITextView. |
![]() | EditorOptionKey<'T> | Represents a type-safe key for editor options. |
| Interface | Description | |
|---|---|---|
![]() | IAdornmentLayer | Represents an adornment layer. |
![]() | IAdornmentLayerElement | Defines an element in an adornment layer. |
![]() | IEditorOptions | Represents common editor options and an extensible mechanism for modifying values and adding new options. |
![]() | IEditorOptionsFactoryService | Represents a service that gets IEditorOptions for a specified scope or for the global scope. |
![]() | IGlyphFactory | Provides a visual for a specific glyph type. |
![]() | IGlyphFactoryProvider | Provides an IGlyphFactory. |
![]() | IGlyphMouseProcessorProvider | Provides a mouse binding for the glyph margin. |
![]() | IGlyphTag | Represents a glyph tag, which is consumed by the glyph margin to place glyph visuals. |
![]() | IKeyProcessorProvider | Creates a KeyProcessor for a given IWpfTextViewHost. |
![]() | IMouseProcessor | Provides extensions for mouse bindings. |
![]() | IMouseProcessor2 | |
![]() | IMouseProcessorProvider | Creates a WPF mouse processor for a given text view. |
![]() | IScrollMap | Defines the mapping between character positions and scrollmap coordinates. |
![]() | IScrollMapFactoryService | Creates or reuses an IScrollMap for an ITextView. |
![]() | ISmartIndent | Provides methods that compute the desired indentation for a line. |
![]() | ISmartIndentationService | Determines automatic indentation when the enter key is pressed or when navigating to an empty line. |
![]() | ISmartIndentProvider | Gets an ISmartIndent object for a given ITextView. |
![]() | ISpaceReservationAgent | Handles the display of space reservation adornments. |
![]() | ISpaceReservationManager | Manages space reservation adornments. |
![]() | ITextCaret | Represents the caret associated with an ITextView. |
![]() | ITextEditorFactoryService | Creates editor views. |
![]() | ITextSelection | Represents the selected text in an ITextView. |
![]() | ITextView | Represents a view of text in an ITextBuffer. It is the base class for a platform-specific interface that has methods to allow the formatted text to be rendered. |
![]() | ITextViewLineCollection | Represents a helper class for accessing the view's collection of ITextViewLine objects. The TextViewLines property is used to get an instance of this interface. |
![]() | ITextViewMargin | Represents the margin that is attached to an edge of an ITextView. |
![]() | ITextViewModel | Represents a set of ITextBuffer objects that take part in the presentation of text in a particular ITextView. |
![]() | ITextViewModelProvider | Provides ITextViewModel objects. |
![]() | ITextViewRoleSet | Set of text view roles. |
![]() | IVerticalFractionMap | Maps between character positions and fractions of the total vertical extent of an ITextView. |
![]() | IVerticalScrollBar | Represents a vertical scroll bar. |
![]() | IViewScroller | Represents a helper class for the ITextView, and provides basic functionality for scrolling. The ViewScroller property of ITextView is used to get an instance of the this interface. |
![]() | IWpfTextView | Represents a Visual Studio ITextView for the Windows Presentation Foundation (WPF) platform. |
![]() | IWpfTextViewConnectionListener | Listens to text buffers of a particular content type to find out when they are opened or closed in the text editor. |
![]() | IWpfTextViewCreationListener | Listens to text view created events. |
![]() | IWpfTextViewHost | Contains an IWpfTextView and the margins that surround it, such as a scrollbar or line number gutter. |
![]() | IWpfTextViewLineCollection | Allows the ITextView to access the view's collection of ITextViewLine objects. You can use the TextViewLines property to get an instance of the ITextViewLineCollection interface. |
![]() | IWpfTextViewMargin | Represents WPF text view margins. |
![]() | IWpfTextViewMarginProvider | Creates an IWpfTextViewMargin for a given IWpfTextViewHost. |
| Delegate | Description | |
|---|---|---|
![]() | AdornmentRemovedCallback | Defines the behavior when a UIElement is removed from an IAdornmentLayer. |
| Enumeration | Description | |
|---|---|---|
![]() | AdornmentPositioningBehavior | Defines the positioning of adornments. |
![]() | ConnectionReason | Defines the reasons for connecting or disconnecting a text buffer and a text view. |
![]() | EnsureSpanVisibleOptions | Options to control the behavior of the EnsureSpanVisible method. |
![]() | ScrollDirection | The direction in which to scroll the ITextView. |
![]() | TextSelectionMode | Represents the different selection modes (simple and box). |
![]() | ViewRelativePosition | Defines the meaning of the verticalOffset parameter in the DisplayTextLineContainingBufferPosition method and the relativeTo parameter in the DisplayTextLineContainingBufferPosition method. |
![]() | WordWrapStyles | Sets a bitwise combination of enumeration values to specify the word wrap style of an ITextView. |




