The IEditor type exposes the following members.

Methods

  NameDescription
Public methodClose
Informs the editor to close the currently opened file.
Public methodMoveTo
Informs the editor to move to the line number lineNumber. The line number to move to.The column number to move to.
Public methodOpen
Informs the editor to open a file located at filename.
Public methodSave
Tells the editor to save the currently opened file.
Public methodSaveAs
Tells the editor to save the currently opened file under the new filename.

Properties

  NameDescription
Public propertyAttachedNode
The node this editor is attached to. Shows runtime errors of this node.
Public propertyOpenedFile
The absolute path to file currently opened.

See Also