LitDev Extension API
TW
![](images/IntellisenseObject.png)
Alias for TextWindow.
The TextWindow provides text-related input and output functionalities. For example using this class, it is possible to write or read some text or number to and from the text-based text window.
BackgroundColor
![]() |
Clear
![]() |
CursorLeft
![]() |
CursorTop
![]() |
ForegroundColor
![]() |
Hide
![]() |
Left
![]() |
Pause
![]() |
PauseIfVisible
![]() |
PauseWithoutMessage
![]() |
Read
![]() |
ReadKey
![]() |
ReadNumber
![]() |
Show
![]() |
Title
![]() |
Top
![]() |
Write
![]() |
WriteLine
![]() |
BackgroundColor
![](images/IntellisenseProperty.png)
Gets or sets the background color of the text to be output in the text window.
Clear()
![](images/IntellisenseMethod.png)
Clears the TextWindow.
CursorLeft
![](images/IntellisenseProperty.png)
Gets or sets the cursor's column position on the text window.
CursorTop
![](images/IntellisenseProperty.png)
Gets or sets the cursor's row position on the text window.
ForegroundColor
![](images/IntellisenseProperty.png)
Gets or sets the foreground color of the text to be output in the text window.
Hide()
![](images/IntellisenseMethod.png)
Hides the text window. Content is perserved when the window is shown again.
Left
![](images/IntellisenseProperty.png)
Gets or sets the Left position of the Text Window.
Pause()
![](images/IntellisenseMethod.png)
Waits for user input before returning.
PauseIfVisible()
![](images/IntellisenseMethod.png)
Waits for user input only when the TextWindow is already open.
PauseWithoutMessage()
![](images/IntellisenseMethod.png)
Waits for user input before returning.
Read()
![](images/IntellisenseMethod.png)
Reads a line of text from the text window. This function will not return until the user hits ENTER.
returns The text that was read from the text window
ReadKey()
![](images/IntellisenseMethod.png)
Reads a single character from the text window.
returns The character that was read from the text window.
ReadNumber()
![](images/IntellisenseMethod.png)
Reads a number from the text window. This function will not return until the user hits ENTER.
returns The number that was read from the text window
Show()
![](images/IntellisenseMethod.png)
Shows the Text window to enable interactions with it.
Title
![](images/IntellisenseProperty.png)
Gets or sets the Title for the text window.
Top
![](images/IntellisenseProperty.png)
Gets or sets the Top position of the Text Window.
Write(data)
![](images/IntellisenseMethod.png)
Writes text or number to the text window. Unlike WriteLine, this will not append a new line character, which means, anything written to the text window after this call will be on the same line.
data The text or number to write to the text window
WriteLine(data)
![](images/IntellisenseMethod.png)
Writes text or number to the text window. A new line character will be appended to the output, so that the next time something is written to the text window, it will go in a new line.
data The text or number to write to the text window.