You can instantiate a Textbox object as follows:
(0, 0). The instance's stripspaces flag is initially on.
Textbox objects have the following methods:
|Ctrl-A||Go to left edge of window.|
|Ctrl-B||Cursor left, wrapping to previous line if appropriate.|
|Ctrl-D||Delete character under cursor.|
|Ctrl-E||Go to right edge (stripspaces off) or end of line (stripspaces on).|
|Ctrl-F||Cursor right, wrapping to next line when appropriate.|
|Ctrl-G||Terminate, returning the window contents.|
|Ctrl-H||Delete character backward.|
|Ctrl-J||Terminate if the window is 1 line, otherwise insert newline.|
|Ctrl-K||If line is blank, delete it, otherwise clear to end of line.|
|Ctrl-N||Cursor down; move down one line.|
|Ctrl-O||Insert a blank line at cursor location.|
|Ctrl-P||Cursor up; move up one line.|
Move operations do nothing if the cursor is at an edge where the movement is not possible. The following synonyms are supported where possible:
All other keystrokes are treated as a command to insert the given character and move right (with line wrapping).
See About this document... for information on suggesting changes.