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 = new_textview() Object = attach_textview() Object = attachlist_textview() Object = CTextView:new() Object = CTextView:Attach() Object = CTextView:AttachFromList() |
Destruction |
Object:delete() |
These functions are normally used to create and attach a new CTextView object as an alternative to the class-based construction methods.
Creates a new instance of the CTextView class. |
|
Creates a new CTextView object attached to the top-most text window on the Mira desktop. This is equivalent to the Attach class method. |
|
Creates a new CTextView object attached to a text editor window selected from a list of windows on the Mira desktop. This is equivalent to the AttachFromList class method. |
Creates a new instance of a CTextView object. |
|
Deletes the CTextView object. |
|
Creates a new CTextView object and attaches it to the top-most text editor window on the Mira desktop. |
|
Creates a new CTextView object and attaches it to a text editor window selected from a list of windows on the Mira desktop. |
|
Closes the CTextView window. |
Clears all text from the CTextView window. |
|
Rturns the title of the CTextView window. |
|
Returns the current word wrapping state of the CTextView. |
|
Prints formatted text to the CTextView. |
|
Saves the content of the CTextView to a text file. |
|
Saves the content of the CTextView to a text file with a different name using a File Save dialog. |
|
Sets the word wrapping state of the window wrapped by the CTextView. |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.