Click or drag to resize

IPureScriptController Methods

The IPureScriptController 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.
(Inherited from IApplyController)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodGetCurrentScriptText Gets the most current script text (if a view is present, it returns the script text of the view).
Public methodInitializeDocument Initializes the controller with the document.
(Inherited from IMVCANController)
Public methodRevert Try to revert changes to the model, i.e. restores the original state of the model.
(Inherited from IApplyController)
Public methodSetInitialScriptCursorLocation Sets the initial cursor location using a character offset.
Public methodSetScriptCursorLocation(Int32) Sets the cursor location using a character offset.
Public methodSetScriptCursorLocation(Int32, Int32) Sets the cursor location inside the script. Line and column are starting with 1.
Public methodSetText Initializes or reinitializes the script controller.
Top
See Also