Difference between revisions of "TextDisplay.clear"

From MiniScript Wiki
Jump to navigation Jump to search
(Created page with "<c>TextDisplay.clear</c> clears the text display, setting all cells to " " (space), with inverse turned off and all cell colors set to the match the display properties. === U...")
 
Line 1: Line 1:
<c>TextDisplay.clear</c> clears the text display, setting all cells to " " (space), with
+
<c>[[TextDisplay]].clear</c> clears the text display, setting all cells to " " (space), with
 
inverse turned off and all cell colors set to the match the display
 
inverse turned off and all cell colors set to the match the display
 
properties.
 
properties.

Revision as of 15:00, 2 April 2020

TextDisplay.clear clears the text display, setting all cells to " " (space), with inverse turned off and all cell colors set to the match the display properties.

Usage Notes

This method does **not** change the cursor position, nor does it reset TextDisplay.delimiter.

Example

text.clear   // clears the default text display