InsertText

Properties

Link copied to clipboard
abstract override val document: TextDocument
Link copied to clipboard
abstract val from: TextPosition
Link copied to clipboard
abstract val label: String
Link copied to clipboard
abstract val textList: List<String>

This list must NOT be empty. To insert nothing, textList = listOf("").

Link copied to clipboard
abstract val to: TextPosition

A calculated field, based on from and textList. This is the position of the end of the inserted text after it has been inserted.

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun caretPosition(isUndo: Boolean): TextPosition
Link copied to clipboard
open fun now()
open fun now(label: String)