Microsoft.VisualStudio.Text.Editor Namespace

Public classAdornmentLayerDefinitionProvides information for an IAdornmentLayer export.
Public classAppearanceCategoryOptionRepresents the appearance category option.
Public classAutoScrollEnabledDefines the option to enable auto-scroll.
Public classBackgroundBrushChangedEventArgsProvides information for the BackgroundBrushChanged event.
Public classCaretPositionChangedEventArgsProvides information for the PositionChanged event.
Public classChangeTrackingMarginEnabledDefines the option to enable the change-tracking margin.
Public classCollapseHintAdornmentControlHighlights an outlining region in the text view when the mouse hovers over this region in the outlining margin.
Public classConvertTabsToSpacesThe option definition that determines whether to convert tabs to spaces.
Public classCutOrCopyBlankLineIfNoSelectionDefines the option to cut or copy a blank line if the selection is empty.
Public classDefaultOptionsCommon editor default options.
Public classDefaultTextViewHostOptionsRepresents common IWpfTextViewHost-related options.
Public classDefaultTextViewOptionsDefines common ITextView options.
Public classDefaultWpfViewOptionsRepresents common IWpfTextView options.
Public classDisplayUrlsAsHyperlinksThe option definition that determines if URLs should be displayed as hyperlinks.
Public classDragDropEditingDefines the view option for drag/drop editing.
Public classEditorOptionChangedEventArgsProvides information for the OptionChanged event.
Public classEditorOptionDefinitionThe definition of an editor option.
Public classEditorOptionDefinition<T>Represents the definition of an editor option.
Public classGlyphMarginEnabledDefines the option to enable the glyph margin.
Public classGridCellLengthAttributeThis class associates a grid cell size with a MEF export.
Public classGridUnitTypeAttributeThis class associates a GridUnitType value with a MEF export.
Public classHighlightCurrentLineOptionRepresents the option to highlight the current line.
Public classHorizontalScrollBarEnabledDefines the option to enable the horizontal scroll bar.
Public classImeTextCompositionRepresents a text composition generated by the IME processing of the ITextView.
Public classIndentSizeThe option definition that determines the size (in number of spaces) of an indent.
Public classIntraTextAdornmentSupport for intra-text adornments that are provided with IntraTextAdornmentTag objects.
Public classIntraTextAdornmentTagRepresents a tag that provides adornments to be interspersed with text.
Public classIsViewportLeftClippedDefines the option to clip the ViewportLeft property to the width of the text.
Public classKeyProcessorProcesses the keyboard input of the editor.
Public classLineNumberMarginEnabledDefines the option to enable the line number margin.
Public classMarginContainerAttributeSpecifies the type of margin container.
Public classMouseHoverAttributeAn 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.
Public classMouseHoverEventArgsProvides information for the MouseHover event.
Public classMouseProcessorBaseProvides a base implementation for mouse bindings, so that clients can override only the methods they need.
Public classMouseWheelZoomEnabledDefines the option to enable the mouse wheel zoom
Public classNewLineCharacterThe option definition that specifies the newline character or characters.
Public classOutliningCollapsedAdornmentControlRepresents collapsed text in the text view.
Public classOutliningMarginBracketControlIndicates the vertical extent of an expanded outlining region and allows the user to collapse it.
Public classOutliningMarginControlRepresents the outlining margin.
Public classOutliningMarginEnabledDefines the option to enable the outlining margin.
Public classOutliningMarginHeaderControlEnables an outlining region to be collapsed and expanded.
Public classOutliningUndoEnabledThe option definition that determines whether outlining is undoable.
Public classOverwriteModeDefines the view option for overwrite mode.
Public classPredefinedAdornmentLayersIncludes the names of the adornment layers predefined by the editor.
Public classPredefinedMarginNamesIncludes the predefined margin names.
Public classPredefinedTextViewRolesThe set of the names of predefined text view roles.
Public classProduceScreenReaderFriendlyTextDefines the option to enable providing annotated text in automation controls so that screen readers can properly read contents of code.
Public classReplicateNewLineCharacterDetermines whether to duplicate a newline character when inserting a line.
Public classSelectionMarginEnabledDefines the option to enable the selection margin.
Public classSimpleGraphicsOptionRepresents the option to draw a selection gradient as opposed to a solid color selection.
Public classSpaceReservationAgentChangedEventArgsProvides information for the AgentChanged event.
Public classSpaceReservationManagerDefinitionRepresents metadata for an ISpaceReservationManager.
Public classTabSizeThe option definition that determines the number of spaces of a tab.
Public classTextViewCreatedEventArgsProvides information for the TextViewCreated event.
Public classTextViewLayoutChangedEventArgsProvides information for the LayoutChanged event.
Public classTextViewRoleAttributeUse this attribute to specify the kinds of TextViews to which an extension applies.
Public classUseVirtualSpaceDefines the option to use virtual space.
Public classUseVisibleWhitespaceDefines the option to use visible whitespace.
Public classVerticalScrollBarEnabledDefines the option to enable the vertical scroll bar.
Public classViewOptionDefinition<T>Defines a ITextView-specific editor option.
Public classViewProhibitUserInputDefines the Prohibit User Input option.
Public classViewStateRepresents 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.
Public classWordWrapStyleDefines the word wrap style option.
Public classWpfTextViewKeyboardFilterNameRepresents the KeyboardFilter ordering name.
Public classWpfViewOptionDefinition<T>Defines an editor option specific to an IWpfTextView.
Public classZoomConstantsDefines the constants used for zoom operations.
Public classZoomControlRepresents a zoom control in the text view.
Public classZoomControlEnabledDefines the option to enable the zoom control.
Public classZoomLevelChangedEventArgsProvides information for the ZoomLevelChanged event.
Public classZoomLevelConverterAllows conversion between string and double representations of the zoom level.

Public structureCaretPositionRepresents the position of a caret in an ITextView.
Public structureEditorOptionKey<T>Represents a type-safe key for editor options.

Public interfaceIAdornmentLayerRepresents an adornment layer.
Public interfaceIAdornmentLayerElementDefines an element in an adornment layer.
Public interfaceIEditorOptionsRepresents common editor options and an extensible mechanism for modifying values and adding new options.
Public interfaceIEditorOptionsFactoryServiceRepresents a service that gets IEditorOptions for a specified scope or for the global scope.
Public interfaceIGlyphFactoryProvides a visual for a specific glyph type.
Public interfaceIGlyphFactoryProviderProvides an IGlyphFactory.
Public interfaceIGlyphMouseProcessorProviderProvides a mouse binding for the glyph margin.
Public interfaceIGlyphTagRepresents a glyph tag, which is consumed by the glyph margin to place glyph visuals.
Public interfaceIKeyProcessorProviderCreates a KeyProcessor for a given IWpfTextViewHost.
Public interfaceIMouseProcessorProvides extensions for mouse bindings.
Public interfaceIMouseProcessorProviderCreates a WPF mouse processor for a given text view.
Public interfaceIScrollMapDefines the mapping between character positions and scrollmap coordinates.
Public interfaceIScrollMapFactoryServiceCreates or reuses an IScrollMap for an ITextView.
Public interfaceISmartIndentProvides methods that compute the desired indentation for a line.
Public interfaceISmartIndentationServiceDetermines automatic indentation when the enter key is pressed or when navigating to an empty line.
Public interfaceISmartIndentProviderGets an ISmartIndent object for a given ITextView.
Public interfaceISpaceReservationAgentHandles the display of space reservation adornments.
Public interfaceISpaceReservationManagerManages space reservation adornments.
Public interfaceITextCaretRepresents the caret associated with an ITextView.
Public interfaceITextEditorFactoryServiceCreates editor views.
Public interfaceITextSelectionRepresents the selected text in an ITextView.
Public interfaceITextViewRepresents 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.
Public interfaceITextViewLineCollectionRepresents a helper class for accessing the view's collection of ITextViewLine objects. The TextViewLines property is used to get an instance of this interface.
Public interfaceITextViewMarginRepresents the margin that is attached to an edge of an ITextView.
Public interfaceITextViewModelRepresents a set of ITextBuffer objects that take part in the presentation of text in a particular ITextView.
Public interfaceITextViewModelProviderProvides ITextViewModel objects.
Public interfaceITextViewRoleSetSet of text view roles.
Public interfaceIVerticalFractionMapMaps between character positions and fractions of the total vertical extent of an ITextView.
Public interfaceIVerticalScrollBarRepresents a vertical scroll bar.
Public interfaceIViewScrollerRepresents 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.
Public interfaceIWpfTextViewRepresents a Visual Studio ITextView for the Windows Presentation Foundation (WPF) platform.
Public interfaceIWpfTextViewConnectionListenerListens to text buffers of a particular content type to find out when they are opened or closed in the text editor.
Public interfaceIWpfTextViewCreationListenerListens to text view created events.
Public interfaceIWpfTextViewHostContains an IWpfTextView and the margins that surround it, such as a scrollbar or line number gutter.
Public interfaceIWpfTextViewLineCollectionAllows 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.
Public interfaceIWpfTextViewMarginRepresents WPF text view margins.
Public interfaceIWpfTextViewMarginProviderCreates an IWpfTextViewMargin for a given IWpfTextViewHost.

Public delegateAdornmentRemovedCallbackDefines the behavior when a UIElement is removed from an IAdornmentLayer.

Public enumerationAdornmentPositioningBehaviorDefines the positioning of adornments.
Public enumerationConnectionReasonDefines the reasons for connecting or disconnecting a text buffer and a text view.
Public enumerationEnsureSpanVisibleOptionsOptions to control the behavior of the EnsureSpanVisible method.
Public enumerationScrollDirectionThe direction in which to scroll the ITextView.
Public enumerationTextSelectionModeRepresents the different selection modes (simple and box).
Public enumerationViewRelativePositionDefines the meaning of the verticalOffset parameter in the DisplayTextLineContainingBufferPosition method and the relativeTo parameter in the DisplayTextLineContainingBufferPosition() method.
Public enumerationWordWrapStylesSets a bitwise combination of enumeration values to specify the word wrap style of an ITextView.

Community Additions