MoveCursorCommand
Class
Common
class MoveCursorCommand(val amount: Int) : EditCommand
Moves the cursor with amount
characters.
If there is selection, cancel the selection first and move the cursor to the selection start position. Then perform the cursor movement.
Parameters
amount | The amount of cursor movement. If you want to move backward, pass negative value. |