Click or drag to resize

ScriptController Methods

The ScriptController type exposes the following members.

Methods
 NameDescription
Public methodApply Called when the user input has to be applied to the document being controlled. Returns if apply is successful.
Public methodAttachView Attaches the current view to this controller.
Public methodCancel Cancels the current operation.
Public methodCompile Compiles the current script.
Public methodDetachView Detaches the current view from this controller.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEhView_GotoCompilerError Moves the script cursor to the location described by a compiler message.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecute Executes the script.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasExecutionErrors Determines whether execution errors are present.
Public methodInitialize Initializes the view with the current script data.
Public methodInitializeDocument Initializes the controller with the document.
Public methodInternalCompiling Performs compilation using the built-in script implementation.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRevert Try to revert changes to the model, i.e. restores the original state of the model.
Public methodSetText Sets the script text in the view.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdate Updates the model with the current script text.
Top
See Also