Synopsis
cursorpos = EditMove(option)
Args
option is one of the following:
| 'UP' | Scroll up one line. |
| 'DOWN' | Scroll down one line. |
| 'LEFT' | Scroll one character left. This may cause the cursor to wrap to the next line if there are no more chars on the current line. |
| 'RIGHT' | Scroll one character right. This may cause the cursor to wrap to the previous line if the cursor is already at the start of a line. |
| 'PAGUP' | Scroll the window up one page. |
| 'PAGDOWN' | Scroll the window down one page. |
| 'HOME' | Move to the first non-blank char on the line. |
| 'END' | Move to the end of the line. |
| 'LWORD' | Moves to the start of the next word. |
| 'RWORD' | Moves to the start of the previous word. |
If omitted, defaults to 'HOME', but moves to the start of the line (rather than the first non-blank character).
Returns
The text cursor's new position, or an empty string if an error.