Skip to main content

AceEditor

Namespace: Wisej.Web.Ext.AceEditor

Assembly: Wisej.Web.Ext.AceEditor

Integrates the AceEditor (https://ace.c9.io/) widget.

public class AceEditor : Widget

Ace is an embeddable code editor written in JavaScript. It matches the features and performance of native editors such as Sublime, Vim and TextMate.

Constructors

Instance memberAceEditor()

Initializes a new instance of AceEditor.

Properties

Instance memberAutoUpdateDelay

Int32: Sets the amount of in time in milliseconds to wait before updating the server that the content of the editor has changed while the user is typing. A value of 0 disables it. (Default: 1000)

Instance memberDisplayIndentGuides

Boolean: Shows or hides the indent guides. (Default: True)

Instance memberFontSize

Nullable<Single>: Returns or sets the FontSize. (Default: null)

Instance memberInitScript

String: Overridden to create our initialization script.

Instance memberLanguage

String: Returns or sets the language. (Default: "")

Instance memberOptions

Object: Returns or sets the options to use for this instance of the AceEditor.

Instance memberPackages

List<Package>: Overridden to return our list of script resources.

Instance memberPrintMarginColumn

Int32: Returns or sets the print margin column position. (Default: 80)

Instance memberReadOnly

Boolean: If readOnly is true, then the editor is set to read-only mode, and none of the content can change. (Default: False)

Instance memberShowGutter

Boolean: Shows or hides the gutter. (Default: True)

Instance memberShowLineNumbers

Boolean: Shows or hides the line numbers in the gutter. (Default: True)

Instance memberShowPrintMargin

Boolean: Shows or hides the print margin. (Default: True)

Instance memberText

String: Returns or sets the text displayed in the editor. (Default: "")

Instance memberTheme

String: Returns or sets the theme. (Default: "")

Methods

Instance memberRedo()

Performs a redo operation on the document, reimplementing the last change.

Instance memberUndo()

Performs an undo operation on the document, reverting the last change.