CTextView:Class Description
The CTextView class manages the Mira Text Editor window. Use this class to print messages in a scrolling editor window. For further information on the Text Editor, see the Mira User's Guide. This is a class based version of the global CreateTextWindow function.
|
Construction |
Object = CTextView:new() |
|
Destruction |
Object:delete() |
|
ptr |
A pointer to the Mira Text Editor window. This pointer is nil if no Text Editor window has been attached. Note: It is not wise to work directly with ptr. Instead, refer to ptr using the GetViewPtr method. |
|
Creates a new instance of a CTextView object. |
|
|
Deletes the CTextView object. |
|
Returns a pointer to the Text Editor window wrapped by the CTextView object. |
|
|
Returns the current word wrapping state of the Text Editor. |
|
|
Prints formatted text to the CTextView. |
|
|
Sets the word wrapping state of the window wrapped by the CTextView. |