MarkToDotRange

data class MarkToDotRange(val markPosition: MarkPosition, val dotPosition: DotPosition) : JSONFriendly

The range between the cursor dot and the cursor caret.

Author

Richard Arriaga

Constructors

Link copied to clipboard
fun MarkToDotRange(markPosition: MarkPosition, dotPosition: DotPosition)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun selected(jTextComponent: JTextComponent): String

Answer the String of characters selected between the DotPosition and the MarkPosition.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun writeTo(writer: JSONWriter)

Properties

Link copied to clipboard
val count: Int

Answer the number of characters included in this MarkToDotRange.

Link copied to clipboard
val dotPosition: DotPosition

The cursor's DotPosition.

Link copied to clipboard
open val jsonFormattedString: String
Link copied to clipboard
open val jsonPrettyPrintedFormattedString: String
Link copied to clipboard
val markPosition: MarkPosition

The cursor's MarkPosition.