CURSOR
Positions the text cursor in the current window.
Note: This command has been deprecated in Zim 8.50.
It is still accepted for backwards compatibility, but it is ignored.
Syntax
CURSOR expression1 expression2
Parameters
expression1 | A number or an expression that evaluates to a number. If the expression is complex, it must be enclosed in parentheses. Indicates the character row in which the cursor is to be positioned. It should be a number from 1 to the maximum number of rows in the current window. |
expression2 | A number or an expression that evaluates to a number. If the expression is complex, it must be enclosed in parentheses. Indicates the character column in which the cursor is to be positioned. It should be a number from 1 to the maximum number of columns in the current window. |
Comments
The text cursor is placed at the specified row (expression1) and column (expression2) coordinates.
Examples
cursor 10 (60/2)
output “Press Enter to continue” ;
input
Positions the cursor at row 10 and column 30, and displays a message.
input $CursorRow $CursorCol
cursor $CursorRow $CursorCol
Prompts for a new cursor position, and moves the cursor.