DefaultOptions Class

 

Common editor default options.

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

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

public static class DefaultOptions

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticConvertTabsToSpacesOptionId

Determines whether to convert tabs to spaces.

System_CAPS_pubfieldSystem_CAPS_staticConvertTabsToSpacesOptionName

The name of the default option that determines whether to convert tabs to spaces.

System_CAPS_pubfieldSystem_CAPS_staticIndentSizeOptionId

Determines the size of an indentation.

System_CAPS_pubfieldSystem_CAPS_staticIndentSizeOptionName

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.

System_CAPS_pubfieldSystem_CAPS_staticLongBufferLineChunkLengthId

The default option that determines the chunking size for long lines. Lines longer than LongBufferLineThreshold may be considered in chunks of this size.

System_CAPS_pubfieldSystem_CAPS_staticLongBufferLineChunkLengthOptionName

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.

System_CAPS_pubfieldSystem_CAPS_staticLongBufferLineThresholdId

The default option that determines the threshold for special handling of long lines. Some operations do not operate on lines longer than this threshold.

System_CAPS_pubfieldSystem_CAPS_staticLongBufferLineThresholdOptionName

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.

System_CAPS_pubfieldSystem_CAPS_staticNewLineCharacterOptionId

Determines the newline character or characters.

System_CAPS_pubfieldSystem_CAPS_staticNewLineCharacterOptionName

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.

System_CAPS_pubfieldSystem_CAPS_staticReplicateNewLineCharacterOptionId

Determines whether to duplicate the new line character already present when inserting a new line.

System_CAPS_pubfieldSystem_CAPS_staticReplicateNewLineCharacterOptionName

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.

System_CAPS_pubfieldSystem_CAPS_staticTabSizeOptionId

Determines size of a tab.

System_CAPS_pubfieldSystem_CAPS_staticTabSizeOptionName

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.

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

Return to top
Show: