new_textview
The new_textview function is a non-class version of the CTextView:new method which creates and returns a new CTextView object.
T = new_textview( sTitle )
    sTitle is
an optional string that specifies the window caption. If not used,
a default title is used.
    On
success, a CTextView object is created and returned.
    On
failure, nil is
returned.
The following script creates a new CTextView and opens a Mira Text Editor window with the specified title:
| 
 | 
 -- create a new instance T of the CTextView class.  | 
| 
 | 
 -- other uses of the class go here  | 
| 
 | 
 -- deletes the object.  | 
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.