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...")
 
 
(One intermediate revision by the same user not shown)
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.
  
 
=== Usage Notes ===
 
=== Usage Notes ===
This method does **not** change the cursor
+
This method does ''not'' change the cursor
 
position, nor does it reset TextDisplay.delimiter.
 
position, nor does it reset TextDisplay.delimiter.
  

Latest 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