DefaultOptionExtensions Class

 

Extension methods for common general options.

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

System.Object
  Microsoft.VisualStudio.Text.Editor.OptionsExtensionMethods.DefaultOptionExtensions

public static class DefaultOptionExtensions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetIndentSize(IEditorOptions)

Gets the size of an indentation for the specified IEditorOptions.

System_CAPS_pubmethodSystem_CAPS_staticGetNewLineCharacter(IEditorOptions)

Gets the newline character or characters for the specified editor options.

System_CAPS_pubmethodSystem_CAPS_staticGetReplicateNewLineCharacter(IEditorOptions)

Determines whether to duplicate the newline character or character sequence if it is already present when inserting a newline.

System_CAPS_pubmethodSystem_CAPS_staticGetTabSize(IEditorOptions)

Gets the number of spaces for the tab in the specified IEditorOptions.

System_CAPS_pubmethodSystem_CAPS_staticIsConvertTabsToSpacesEnabled(IEditorOptions)

Determines whether the option to convert tabs to spaces is enabled in the specified IEditorOptions.

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: