Compartilhar via


DefaultOptions Class

Common editor default options.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Text.Editor.DefaultOptions

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

Syntax

'Declaração
Public NotInheritable Class DefaultOptions
public static class DefaultOptions
public ref class DefaultOptions abstract sealed
[<AbstractClass>]
[<Sealed>]
type DefaultOptions =  class end
public final class DefaultOptions

The DefaultOptions type exposes the following members.

Fields

  Name Description
Public fieldStatic member ConvertTabsToSpacesOptionId Determines whether to convert tabs to spaces.
Public fieldStatic member ConvertTabsToSpacesOptionName
Public fieldStatic member IndentSizeOptionId Determines the size of an indentation.
Public fieldStatic member IndentSizeOptionName
Public fieldStatic member LongBufferLineChunkLengthId
Public fieldStatic member LongBufferLineChunkLengthOptionName
Public fieldStatic member LongBufferLineThresholdId
Public fieldStatic member LongBufferLineThresholdOptionName
Public fieldStatic member NewLineCharacterOptionId Determines the newline character or characters.
Public fieldStatic member NewLineCharacterOptionName
Public fieldStatic member ReplicateNewLineCharacterOptionId Determines whether to duplicate the new line character already present when inserting a new line.
Public fieldStatic member ReplicateNewLineCharacterOptionName
Public fieldStatic member TabSizeOptionId Determines size of a tab.
Public fieldStatic member TabSizeOptionName

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