IEditorSettingsProvider Interface

Applies to v2.

Provides properties for an editor settings provider.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public Interface IEditorSettingsProvider _
    Inherits IEditorSettings
'Usage
Dim instance As IEditorSettingsProvider
public interface IEditorSettingsProvider : IEditorSettings
public interface class IEditorSettingsProvider : IEditorSettings
type IEditorSettingsProvider =  
    interface 
        interface IEditorSettings 
    end
public interface IEditorSettingsProvider extends IEditorSettings

The IEditorSettingsProvider type exposes the following members.

Properties

  Name Description
Public property AddQuotesToHtmlAttributes Gets or sets whether to add quotes to HTML attribute values in HTML formatting. (Inherited from IEditorSettings.)
Public property AutoFormatCode Gets or sets whether to auto-format code as you type. (Inherited from IEditorSettings.)
Public property BracePositionOnNewLineCSharp Gets or sets whether to brace position in C#. (Inherited from IEditorSettings.)
Public property BracePositionOnNewLineCss Gets or sets whether to brace position in CSS. (Inherited from IEditorSettings.)
Public property BracePositionOnNewLineJScript Gets or sets whether to brace position in JScript. (Inherited from IEditorSettings.)
Public property BracePositionOnNewLinePhp Gets or sets whether to brace position in PHP. (Inherited from IEditorSettings.)
Public property FontFamily Gets or sets the font family for the settings. (Inherited from IEditorSettings.)
Public property FontSizeInPoints Gets or sets the font size in points. (Inherited from IEditorSettings.)
Public property HighlightWords Gets or sets whether to highlight words. (Inherited from IEditorSettings.)
Public property HtmlAttributesOnSeparateLines Gets or sets whether to place HTML element attributes on separate lines. (Inherited from IEditorSettings.)
Public property InsertBraces Gets or sets whether to insert matching braces and quotes. (Inherited from IEditorSettings.)
Public property InsertClosingTags Gets or sets whether to insert closing tags in HTML and XML. (Inherited from IEditorSettings.)
Public property InsertSpacesForTabs Gets or sets whether spaces are inserted for tabs. (Inherited from IEditorSettings.)
Public property LineNumbersEnabled Gets or sets whether line numbers are enabled. (Inherited from IEditorSettings.)
Public property SearchAsYouType Gets or sets whether the editor allows searching as you type. (Inherited from IEditorSettings.)
Public property ShowWhiteSpaces Gets or sets whether whitespace is shown. (Inherited from IEditorSettings.)
Public property SurfaceBackgroundBrush Gets or sets the surface background brush. (Inherited from IEditorSettings.)
Public property TabSize Gets or sets the tab size. (Inherited from IEditorSettings.)
Public property ThemeFileLocation Gets or sets the theme file location.
Public property ValidationEnabled Gets or sets whether to enable validation. (Inherited from IEditorSettings.)
Public property WordWrapEnabled Gets or sets whether word wrap is enabled. (Inherited from IEditorSettings.)

Top

Methods

  Name Description
Public method GetCustomOption Gets the custom option of the editor. (Inherited from IEditorSettings.)
Public method GetCustomOptions Gets all custom options. (Inherited from IEditorSettings.)
Public method SetCustomOption Sets the custom option. (Inherited from IEditorSettings.)

Top

Events

  Name Description
Public event SettingChanged Occurs when a setting has changed.

Top

See Also

Reference

Microsoft.WebMatrix.Extensibility.Editor Namespace