CommitTextCommand
-
Cmn
class CommitTextCommand : EditCommand
Commit final text to the text box and set the new cursor position.
See commitText.
Summary
Public constructors |
|
|---|---|
CommitTextCommand( |
Cmn
|
CommitTextCommand(text: String, newCursorPosition: 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 properties |
||
|---|---|---|
AnnotatedString |
The text to commit. |
Cmn
|
Int |
The cursor position after inserted text. |
Cmn
|
String |
Cmn
|
Public constructors
CommitTextCommand
CommitTextCommand(
annotatedString: AnnotatedString,
newCursorPosition: Int
)
| Parameters | |
|---|---|
annotatedString: AnnotatedString |
The text to commit. |
newCursorPosition: Int |
The cursor position after inserted text. |