The actual raw COM instance of the te instance inside of editor.js. The internal members use this instance to access the members of the underlying JavaScript object.

You can use ReflectionUtils to further use Reflection on this instance to automate Ace Editor.

Example: var udm = ReflectionUtils.InvokeMethod(AceEditor.Instance,"editor.session.getUndoManager",false) RelectionManager.Invoke(udm,"undo",false);

Note methods with no parameters should pass false

public object Instance { get; set; }

See also:

Class BaseBrowserInterop

© West Wind Technologies, 1996-2021 • Updated: 02/14/20
Comment or report problem with topic