DefaultTextViewOptions Class

Defines common ITextView options.


Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

public static class DefaultTextViewOptions

The DefaultTextViewOptions type exposes the following members.

Public fieldStatic memberAutoScrollIdDetermines whether the view should auto-scroll on text changes.
Public fieldStatic memberCutOrCopyBlankLineIfNoSelectionIdDetermines whether cut and copy causes a blank line to be cut or copied when the selection is empty.
Public fieldStatic memberDisplayUrlsAsHyperlinksIdDetermines whether URLs should be displayed as hyperlinks.
Public fieldStatic memberDragDropEditingIdDetermines whether drag/drop editing is enabled.
Public fieldStatic memberIsViewportLeftClippedIdDetermines whether the view's ViewportLeft property is clipped to the text width.
Public fieldStatic memberOutliningUndoOptionIdDetermines whether outlining can be undone.
Public fieldStatic memberOverwriteModeIdDetermines whether overwrite mode is enabled.
Public fieldStatic memberProduceScreenReaderFriendlyTextIdWhether or not to replace the coding characters and special symbols (such as (,),{,},etc.) with their textual representation for automated objects to produce friendly text for screen readers.
Public fieldStatic memberUseVirtualSpaceIdDetermines whether to enable virtual space in the view.
Public fieldStatic memberUseVisibleWhitespaceIdDetermines whether to show spaces and tabs as visible glyphs.
Public fieldStatic memberViewProhibitUserInputIdDetermines whether to prohibit user input. The text in the view's buffer can still be modified, and other views on the same buffer may allow user input.
Public fieldStatic memberWordWrapStyleIdGets the word wrap style for the underlying view.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions