DefaultOptionExtensions Class
Extension methods for common general options.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Text.Editor.OptionsExtensionMethods.DefaultOptionExtensions
Namespace: Microsoft.VisualStudio.Text.Editor.OptionsExtensionMethods
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Déclaration
<ExtensionAttribute> _
Public NotInheritable Class DefaultOptionExtensions
public static class DefaultOptionExtensions
[ExtensionAttribute]
public ref class DefaultOptionExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type DefaultOptionExtensions = class end
public final class DefaultOptionExtensions
The DefaultOptionExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetIndentSize | Gets the size of an indentation for the specified IEditorOptions. | |
GetNewLineCharacter | Gets the newline character or characters for the specified editor options. | |
GetReplicateNewLineCharacter | Determines whether to duplicate the newline character or character sequence if it is already present when inserting a newline. | |
GetTabSize | Gets the number of spaces for the tab in the specified IEditorOptions. | |
IsConvertTabsToSpacesEnabled | Determines whether the option to convert tabs to spaces is enabled in the specified IEditorOptions. |
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.OptionsExtensionMethods Namespace