markPosition

fun JTextComponent.markPosition(): MarkPosition

Return

The MarkPosition of the JTextPane.caret in this JTextPane.