IEditorSettings Interface
Applies to v2.
Represents an interface of editor settings.
Namespace: Microsoft.WebMatrix.Extensibility.Editor
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Public Interface IEditorSettings
'Usage
Dim instance As IEditorSettings
public interface IEditorSettings
public interface class IEditorSettings
type IEditorSettings = interface end
public interface IEditorSettings
The IEditorSettings type exposes the following members.
Properties
Name | Description | |
---|---|---|
AddQuotesToHtmlAttributes | Gets or sets whether to add quotes to HTML attribute values in HTML formatting. | |
AutoFormatCode | Gets or sets whether to auto-format code as you type. | |
BracePositionOnNewLineCSharp | Gets or sets whether to brace position in C#. | |
BracePositionOnNewLineCss | Gets or sets whether to brace position in CSS. | |
BracePositionOnNewLineJScript | Gets or sets whether to brace position in JScript. | |
BracePositionOnNewLinePhp | Gets or sets whether to brace position in PHP. | |
FontFamily | Gets or sets the font family for the settings. | |
FontSizeInPoints | Gets or sets the font size in points. | |
HighlightWords | Gets or sets whether to highlight words. | |
HtmlAttributesOnSeparateLines | Gets or sets whether to place HTML element attributes on separate lines. | |
InsertBraces | Gets or sets whether to insert matching braces and quotes. | |
InsertClosingTags | Gets or sets whether to insert closing tags in HTML and XML. | |
InsertSpacesForTabs | Gets or sets whether spaces are inserted for tabs. | |
LineNumbersEnabled | Gets or sets whether line numbers are enabled. | |
SearchAsYouType | Gets or sets whether the editor allows searching as you type. | |
ShowWhiteSpaces | Gets or sets whether whitespace is shown. | |
SurfaceBackgroundBrush | Gets or sets the surface background brush. | |
TabSize | Gets or sets the tab size. | |
ValidationEnabled | Gets or sets whether to enable validation. | |
WordWrapEnabled | Gets or sets whether word wrap is enabled. |
Top
Methods
Name | Description | |
---|---|---|
GetCustomOption | Gets the custom option of the editor. | |
GetCustomOptions | Gets all custom options. | |
SetCustomOption | Sets the custom option. |
Top