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 | |
---|---|---|
AddQuotesToHtmlAttributes | Gets or sets whether to add quotes to HTML attribute values in HTML formatting. (Inherited from IEditorSettings.) | |
AutoFormatCode | Gets or sets whether to auto-format code as you type. (Inherited from IEditorSettings.) | |
BracePositionOnNewLineCSharp | Gets or sets whether to brace position in C#. (Inherited from IEditorSettings.) | |
BracePositionOnNewLineCss | Gets or sets whether to brace position in CSS. (Inherited from IEditorSettings.) | |
BracePositionOnNewLineJScript | Gets or sets whether to brace position in JScript. (Inherited from IEditorSettings.) | |
BracePositionOnNewLinePhp | Gets or sets whether to brace position in PHP. (Inherited from IEditorSettings.) | |
FontFamily | Gets or sets the font family for the settings. (Inherited from IEditorSettings.) | |
FontSizeInPoints | Gets or sets the font size in points. (Inherited from IEditorSettings.) | |
HighlightWords | Gets or sets whether to highlight words. (Inherited from IEditorSettings.) | |
HtmlAttributesOnSeparateLines | Gets or sets whether to place HTML element attributes on separate lines. (Inherited from IEditorSettings.) | |
InsertBraces | Gets or sets whether to insert matching braces and quotes. (Inherited from IEditorSettings.) | |
InsertClosingTags | Gets or sets whether to insert closing tags in HTML and XML. (Inherited from IEditorSettings.) | |
InsertSpacesForTabs | Gets or sets whether spaces are inserted for tabs. (Inherited from IEditorSettings.) | |
LineNumbersEnabled | Gets or sets whether line numbers are enabled. (Inherited from IEditorSettings.) | |
SearchAsYouType | Gets or sets whether the editor allows searching as you type. (Inherited from IEditorSettings.) | |
ShowWhiteSpaces | Gets or sets whether whitespace is shown. (Inherited from IEditorSettings.) | |
SurfaceBackgroundBrush | Gets or sets the surface background brush. (Inherited from IEditorSettings.) | |
TabSize | Gets or sets the tab size. (Inherited from IEditorSettings.) | |
ThemeFileLocation | Gets or sets the theme file location. | |
ValidationEnabled | Gets or sets whether to enable validation. (Inherited from IEditorSettings.) | |
WordWrapEnabled | Gets or sets whether word wrap is enabled. (Inherited from IEditorSettings.) |
Top
Methods
Name | Description | |
---|---|---|
GetCustomOption | Gets the custom option of the editor. (Inherited from IEditorSettings.) | |
GetCustomOptions | Gets all custom options. (Inherited from IEditorSettings.) | |
SetCustomOption | Sets the custom option. (Inherited from IEditorSettings.) |
Top
Events
Name | Description | |
---|---|---|
SettingChanged | Occurs when a setting has changed. |
Top