DefaultOptions Class
Common editor default options.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.Text.Editor.DefaultOptions
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
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 | |
---|---|---|
ConvertTabsToSpacesOptionId | Determines whether to convert tabs to spaces. | |
ConvertTabsToSpacesOptionName | The name of the default option that determines whether to convert tabs to spaces. | |
IndentSizeOptionId | Determines the size of an indentation. | |
IndentSizeOptionName | The name of the default option that determines size of an indent. This option is used to determine the numerical column offset of an indent level. | |
LongBufferLineChunkLengthId | The default option that determines the chunking size for long lines. Lines longer than LongBufferLineThreshold may be considered in chunks of this size. | |
LongBufferLineChunkLengthOptionName | The name of the default option that determines the chunking size for long lines. Lines longer than LongBufferLineThreshold may be considered in chunks of this size. | |
LongBufferLineThresholdId | The default option that determines the threshold for special handling of long lines. Some operations do not operate on lines longer than this threshold. | |
LongBufferLineThresholdOptionName | The name of the default option that determines the threshold for special handling of long lines. Some operations do not operate on lines longer than this threshold. | |
NewLineCharacterOptionId | Determines the newline character or characters. | |
NewLineCharacterOptionName | The default option that determines the newline character or characters. The newline character can be a string, as in the common case of "\r\n". This setting applies when ReplicateNewLineCharacter is false, or when ReplicateNewLineCharacter is true and the text buffer is empty. | |
ReplicateNewLineCharacterOptionId | Determines whether to duplicate the new line character already present when inserting a new line. | |
ReplicateNewLineCharacterOptionName | The name of the default option that determines the newline character or characters. The newline character can be a string, as in the common case of "\r\n". This setting applies when ReplicateNewLineCharacter is false, or when ReplicateNewLineCharacter is true and the text buffer is empty. | |
TabSizeOptionId | Determines size of a tab. | |
TabSizeOptionName | The name of the default option that determines size of a tab. This option is used to determine the numerical column offset of a tab character ('\t') and, if ConvertTabsToSpaces is enabled, the number of spaces to which a tab should be converted. |
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.