Partager via


DefaultTextViewOptions Class

Defines common ITextView options.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Text.Editor.DefaultTextViewOptions

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

Syntax

'Déclaration
Public NotInheritable Class DefaultTextViewOptions
public static class DefaultTextViewOptions
public ref class DefaultTextViewOptions abstract sealed
[<AbstractClass>]
[<Sealed>]
type DefaultTextViewOptions =  class end
public final class DefaultTextViewOptions

The DefaultTextViewOptions type exposes the following members.

Fields

  Name Description
Public fieldStatic member AutoScrollId Determines whether the view should auto-scroll on text changes.
Public fieldStatic member CutOrCopyBlankLineIfNoSelectionId Determines whether cut and copy causes a blank line to be cut or copied when the selection is empty.
Public fieldStatic member DisplayUrlsAsHyperlinksId Determines whether URLs should be displayed as hyperlinks.
Public fieldStatic member DragDropEditingId Determines whether drag/drop editing is enabled.
Public fieldStatic member IsViewportLeftClippedId Determines whether the view's ViewportLeft property is clipped to the text width.
Public fieldStatic member OutliningUndoOptionId Determines whether outlining can be undone.
Public fieldStatic member OverwriteModeId Determines whether overwrite mode is enabled.
Public fieldStatic member ProduceScreenReaderFriendlyTextId Whether 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 member UseVirtualSpaceId Determines whether to enable virtual space in the view.
Public fieldStatic member UseVisibleWhitespaceId Determines whether to show spaces and tabs as visible glyphs.
Public fieldStatic member ViewProhibitUserInputId Determines 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 member WordWrapStyleId Gets the word wrap style for the underlying view.

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace