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

Top

Methods

  Name Description
Public method GetCustomOption Gets the custom option of the editor.
Public method GetCustomOptions Gets all custom options.
Public method SetCustomOption Sets the custom option.

Top

See Also

Reference

Microsoft.WebMatrix.Extensibility.Editor Namespace