MoveCursorCommand
-
Cmn
class MoveCursorCommand : 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.
Summary
Public constructors |
|
|---|---|
MoveCursorCommand(amount: Int) |
Cmn
|
Public functions |
||
|---|---|---|
open Unit |
applyTo(buffer: EditingBuffer)Apply the command on the editing buffer. |
Cmn
|
open operator Boolean |
Cmn
|
|
open Int |
hashCode() |
Cmn
|
open String |
toString() |
Cmn
|
Public constructors
MoveCursorCommand
MoveCursorCommand(amount: Int)
| Parameters | |
|---|---|
amount: Int |
The amount of cursor movement. If you want to move backward, pass negative value. |