Click or drag to resize

PureScriptController Methods

The PureScriptController 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 view.
Public methodDetachView Detaches the view.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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 methodGetCurrentScriptText Gets the most current script text (if a view is present, it returns the script text of the view).
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitialize Initializes the view from the current document.
Public methodInitializeDocument Initializes the controller with the document.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRevert Tries to revert changes to the model, i.e. restores the original state of the model.
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.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also