IEditorOptions IEditorOptions IEditorOptions IEditorOptions IEditorOptions IEditorOptions Interface

Definition

Represents common editor options and an extensible mechanism for modifying values and adding new options.

public interface class IEditorOptions
public interface class IEditorOptions
__interface IEditorOptions
public interface IEditorOptions
type IEditorOptions = interface
Public Interface IEditorOptions

Properties

GlobalOptions GlobalOptions GlobalOptions GlobalOptions GlobalOptions GlobalOptions

Gets the global options.

Parent Parent Parent Parent Parent Parent

Gets or sets the immediate parent of this set of options. If this set of options has no parent scope (because it is the global scope), this property is null and cannot be set.

SupportedOptions SupportedOptions SupportedOptions SupportedOptions SupportedOptions SupportedOptions

Gets the supported options.

Methods

ClearOptionValue(String) ClearOptionValue(String) ClearOptionValue(String) ClearOptionValue(String) ClearOptionValue(String) ClearOptionValue(String)

Clear the locally-defined value for the given option.

ClearOptionValue<T>(EditorOptionKey<T>) ClearOptionValue<T>(EditorOptionKey<T>) ClearOptionValue<T>(EditorOptionKey<T>) ClearOptionValue<T>(EditorOptionKey<T>) ClearOptionValue<T>(EditorOptionKey<T>) ClearOptionValue<T>(EditorOptionKey<T>)

Clear the locally-defined value for the given option.

GetOptionValue(String) GetOptionValue(String) GetOptionValue(String) GetOptionValue(String) GetOptionValue(String) GetOptionValue(String)

Gets the value of the option specified by the option ID.

GetOptionValue<T>(EditorOptionKey<T>) GetOptionValue<T>(EditorOptionKey<T>) GetOptionValue<T>(EditorOptionKey<T>) GetOptionValue<T>(EditorOptionKey<T>) GetOptionValue<T>(EditorOptionKey<T>) GetOptionValue<T>(EditorOptionKey<T>)

Gets the value of the option identified by the specified key.

GetOptionValue<T>(String) GetOptionValue<T>(String) GetOptionValue<T>(String) GetOptionValue<T>(String) GetOptionValue<T>(String) GetOptionValue<T>(String)

Gets the value of the option identified by the specified option ID.

IsOptionDefined(String, Boolean) IsOptionDefined(String, Boolean) IsOptionDefined(String, Boolean) IsOptionDefined(String, Boolean) IsOptionDefined(String, Boolean) IsOptionDefined(String, Boolean)

Determines whether the specified option is defined.

IsOptionDefined<T>(EditorOptionKey<T>, Boolean) IsOptionDefined<T>(EditorOptionKey<T>, Boolean) IsOptionDefined<T>(EditorOptionKey<T>, Boolean) IsOptionDefined<T>(EditorOptionKey<T>, Boolean) IsOptionDefined<T>(EditorOptionKey<T>, Boolean) IsOptionDefined<T>(EditorOptionKey<T>, Boolean)

Determines whether the specified editor option is defined.

SetOptionValue(String, Object) SetOptionValue(String, Object) SetOptionValue(String, Object) SetOptionValue(String, Object) SetOptionValue(String, Object) SetOptionValue(String, Object)

Sets the value of the specified option in the current scope. If the given option is not applicable in the current scope, it attempts to set the option in the global scope.

SetOptionValue<T>(EditorOptionKey<T>, T) SetOptionValue<T>(EditorOptionKey<T>, T) SetOptionValue<T>(EditorOptionKey<T>, T) SetOptionValue<T>(EditorOptionKey<T>, T) SetOptionValue<T>(EditorOptionKey<T>, T) SetOptionValue<T>(EditorOptionKey<T>, T)

Sets the value of the specified option in the current scope. If the given option is not applicable in the current scope, it attempts to set the option in the global scope.

Events

OptionChanged OptionChanged OptionChanged OptionChanged OptionChanged OptionChanged

Occurs when any option changes. Options that change in the global scope cause this event to be raised if they are also applicable to this scope.

Extension Methods

GetIndentSize(IEditorOptions) GetIndentSize(IEditorOptions) GetIndentSize(IEditorOptions) GetIndentSize(IEditorOptions) GetIndentSize(IEditorOptions) GetIndentSize(IEditorOptions)

Gets the size of an indent for the specified IEditorOptions.

GetInsertFinalNewLine(IEditorOptions) GetInsertFinalNewLine(IEditorOptions) GetInsertFinalNewLine(IEditorOptions) GetInsertFinalNewLine(IEditorOptions) GetInsertFinalNewLine(IEditorOptions) GetInsertFinalNewLine(IEditorOptions)

Determines whether to insert final newline.

GetNewLineCharacter(IEditorOptions) GetNewLineCharacter(IEditorOptions) GetNewLineCharacter(IEditorOptions) GetNewLineCharacter(IEditorOptions) GetNewLineCharacter(IEditorOptions) GetNewLineCharacter(IEditorOptions)

Gets the new line character for the specified editor options.

GetReplicateNewLineCharacter(IEditorOptions) GetReplicateNewLineCharacter(IEditorOptions) GetReplicateNewLineCharacter(IEditorOptions) GetReplicateNewLineCharacter(IEditorOptions) GetReplicateNewLineCharacter(IEditorOptions) GetReplicateNewLineCharacter(IEditorOptions)

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

GetTabSize(IEditorOptions) GetTabSize(IEditorOptions) GetTabSize(IEditorOptions) GetTabSize(IEditorOptions) GetTabSize(IEditorOptions) GetTabSize(IEditorOptions)

Gets the size of the tab for the specified IEditorOptions.

GetTrimTrailingWhieSpace(IEditorOptions) GetTrimTrailingWhieSpace(IEditorOptions) GetTrimTrailingWhieSpace(IEditorOptions) GetTrimTrailingWhieSpace(IEditorOptions) GetTrimTrailingWhieSpace(IEditorOptions) GetTrimTrailingWhieSpace(IEditorOptions)

Determines whether to trim trailing whitespace.

IsConvertTabsToSpacesEnabled(IEditorOptions) IsConvertTabsToSpacesEnabled(IEditorOptions) IsConvertTabsToSpacesEnabled(IEditorOptions) IsConvertTabsToSpacesEnabled(IEditorOptions) IsConvertTabsToSpacesEnabled(IEditorOptions) IsConvertTabsToSpacesEnabled(IEditorOptions)

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

IsChangeTrackingEnabled(IEditorOptions) IsChangeTrackingEnabled(IEditorOptions) IsChangeTrackingEnabled(IEditorOptions) IsChangeTrackingEnabled(IEditorOptions) IsChangeTrackingEnabled(IEditorOptions) IsChangeTrackingEnabled(IEditorOptions)

Determines whether change tracking is enabled with the specified set of editor options.

IsGlyphMarginEnabled(IEditorOptions) IsGlyphMarginEnabled(IEditorOptions) IsGlyphMarginEnabled(IEditorOptions) IsGlyphMarginEnabled(IEditorOptions) IsGlyphMarginEnabled(IEditorOptions) IsGlyphMarginEnabled(IEditorOptions)

Determines whether the glyph margin is enabled with the specified set of editor options.

IsHorizontalScrollBarEnabled(IEditorOptions) IsHorizontalScrollBarEnabled(IEditorOptions) IsHorizontalScrollBarEnabled(IEditorOptions) IsHorizontalScrollBarEnabled(IEditorOptions) IsHorizontalScrollBarEnabled(IEditorOptions) IsHorizontalScrollBarEnabled(IEditorOptions)

Determines whether the horizontal scrollbar is enabled with the specified set of editor options.

IsInContrastMode(IEditorOptions) IsInContrastMode(IEditorOptions) IsInContrastMode(IEditorOptions) IsInContrastMode(IEditorOptions) IsInContrastMode(IEditorOptions) IsInContrastMode(IEditorOptions)

Determines whether the editor is in either "Extra Contrast" or "High Contrast" modes.

IsLineNumberMarginEnabled(IEditorOptions) IsLineNumberMarginEnabled(IEditorOptions) IsLineNumberMarginEnabled(IEditorOptions) IsLineNumberMarginEnabled(IEditorOptions) IsLineNumberMarginEnabled(IEditorOptions) IsLineNumberMarginEnabled(IEditorOptions)

Determines whether the line number margin is enabled with the specified set of editor options.

IsOutliningMarginEnabled(IEditorOptions) IsOutliningMarginEnabled(IEditorOptions) IsOutliningMarginEnabled(IEditorOptions) IsOutliningMarginEnabled(IEditorOptions) IsOutliningMarginEnabled(IEditorOptions) IsOutliningMarginEnabled(IEditorOptions)

Determines whether the Outlining margin is enabled with the specified set of editor options.

IsSelectionMarginEnabled(IEditorOptions) IsSelectionMarginEnabled(IEditorOptions) IsSelectionMarginEnabled(IEditorOptions) IsSelectionMarginEnabled(IEditorOptions) IsSelectionMarginEnabled(IEditorOptions) IsSelectionMarginEnabled(IEditorOptions)

Determines whether the selection margin is enabled with the specified set of editor options.

IsVerticalScrollBarEnabled(IEditorOptions) IsVerticalScrollBarEnabled(IEditorOptions) IsVerticalScrollBarEnabled(IEditorOptions) IsVerticalScrollBarEnabled(IEditorOptions) IsVerticalScrollBarEnabled(IEditorOptions) IsVerticalScrollBarEnabled(IEditorOptions)

Determines whether the vertical scrollbar is enabled with the specified set of editor options.

IsZoomControlEnabled(IEditorOptions) IsZoomControlEnabled(IEditorOptions) IsZoomControlEnabled(IEditorOptions) IsZoomControlEnabled(IEditorOptions) IsZoomControlEnabled(IEditorOptions) IsZoomControlEnabled(IEditorOptions)

Determines whether the zoom control is enabled with the specified set of editor options.

DoesViewProhibitUserInput(IEditorOptions) DoesViewProhibitUserInput(IEditorOptions) DoesViewProhibitUserInput(IEditorOptions) DoesViewProhibitUserInput(IEditorOptions) DoesViewProhibitUserInput(IEditorOptions) DoesViewProhibitUserInput(IEditorOptions)

Determines whether the view prohibits all user input.

IsAutoScrollEnabled(IEditorOptions) IsAutoScrollEnabled(IEditorOptions) IsAutoScrollEnabled(IEditorOptions) IsAutoScrollEnabled(IEditorOptions) IsAutoScrollEnabled(IEditorOptions) IsAutoScrollEnabled(IEditorOptions)

Determines whether auto-scroll is enabled with the specified set of editor options.

IsDragDropEditingEnabled(IEditorOptions) IsDragDropEditingEnabled(IEditorOptions) IsDragDropEditingEnabled(IEditorOptions) IsDragDropEditingEnabled(IEditorOptions) IsDragDropEditingEnabled(IEditorOptions) IsDragDropEditingEnabled(IEditorOptions)

Determines whether the option for drag/drop editing is enabled in the specified IEditorOptions.

IsOutliningUndoEnabled(IEditorOptions) IsOutliningUndoEnabled(IEditorOptions) IsOutliningUndoEnabled(IEditorOptions) IsOutliningUndoEnabled(IEditorOptions) IsOutliningUndoEnabled(IEditorOptions) IsOutliningUndoEnabled(IEditorOptions)

Determines whether the option for outlining undo enabled in the specified IEditorOptions.

IsOverwriteModeEnabled(IEditorOptions) IsOverwriteModeEnabled(IEditorOptions) IsOverwriteModeEnabled(IEditorOptions) IsOverwriteModeEnabled(IEditorOptions) IsOverwriteModeEnabled(IEditorOptions) IsOverwriteModeEnabled(IEditorOptions)

Determines whether overwrite mode is enabled with the specified set of editor options.

IsViewportLeftClipped(IEditorOptions) IsViewportLeftClipped(IEditorOptions) IsViewportLeftClipped(IEditorOptions) IsViewportLeftClipped(IEditorOptions) IsViewportLeftClipped(IEditorOptions) IsViewportLeftClipped(IEditorOptions)

Determines whether the view's ViewportLeft property is clipped to the text width.

IsVirtualSpaceEnabled(IEditorOptions) IsVirtualSpaceEnabled(IEditorOptions) IsVirtualSpaceEnabled(IEditorOptions) IsVirtualSpaceEnabled(IEditorOptions) IsVirtualSpaceEnabled(IEditorOptions) IsVirtualSpaceEnabled(IEditorOptions)

Determines whether virtual space is enabled for the specified set of editor options.

IsVisibleWhitespaceEnabled(IEditorOptions) IsVisibleWhitespaceEnabled(IEditorOptions) IsVisibleWhitespaceEnabled(IEditorOptions) IsVisibleWhitespaceEnabled(IEditorOptions) IsVisibleWhitespaceEnabled(IEditorOptions) IsVisibleWhitespaceEnabled(IEditorOptions)

Determines whether visible whitespace is enabled with the specified set of editor options.

WordWrapStyle(IEditorOptions) WordWrapStyle(IEditorOptions) WordWrapStyle(IEditorOptions) WordWrapStyle(IEditorOptions) WordWrapStyle(IEditorOptions) WordWrapStyle(IEditorOptions)

Gets the set of word wrap styles with the specified set of editor options.

AppearanceCategory(IEditorOptions) AppearanceCategory(IEditorOptions) AppearanceCategory(IEditorOptions) AppearanceCategory(IEditorOptions) AppearanceCategory(IEditorOptions) AppearanceCategory(IEditorOptions)

Specifies the appearance category.

IsHighlightCurrentLineEnabled(IEditorOptions) IsHighlightCurrentLineEnabled(IEditorOptions) IsHighlightCurrentLineEnabled(IEditorOptions) IsHighlightCurrentLineEnabled(IEditorOptions) IsHighlightCurrentLineEnabled(IEditorOptions) IsHighlightCurrentLineEnabled(IEditorOptions)

Determines whether the option to highlight the current line is enabled.

IsMouseWheelZoomEnabled(IEditorOptions) IsMouseWheelZoomEnabled(IEditorOptions) IsMouseWheelZoomEnabled(IEditorOptions) IsMouseWheelZoomEnabled(IEditorOptions) IsMouseWheelZoomEnabled(IEditorOptions) IsMouseWheelZoomEnabled(IEditorOptions)

Determines whether to allow mouse wheel zooming

IsSimpleGraphicsEnabled(IEditorOptions) IsSimpleGraphicsEnabled(IEditorOptions) IsSimpleGraphicsEnabled(IEditorOptions) IsSimpleGraphicsEnabled(IEditorOptions) IsSimpleGraphicsEnabled(IEditorOptions) IsSimpleGraphicsEnabled(IEditorOptions)

Determines whether the option to draw a gradient selection is enabled.

ZoomLevel(IEditorOptions) ZoomLevel(IEditorOptions) ZoomLevel(IEditorOptions) ZoomLevel(IEditorOptions) ZoomLevel(IEditorOptions) ZoomLevel(IEditorOptions)

Specifies the persisted zoomlevel.

Applies to