CTextView:GetViewPtr
The GetViewPtr method returns a pointer to the Text Editor window wrapped by the CTextView object. This pointer is required by some methods in other classes that use a direct pointer to a window in the Mira GUI, rather than a reference to a CTextView object.
pointer = CTextView:GetViewPtr() |
On success, this method returns a pointer to the Text Editor window, not a CTextView object
On failure, this method returns nil.