set Caret From
Set the caret dot and caret mark from the given MarkToDotRange.
Parameters
range
The MarkToDotRange to use to position the JTextComponent.caret.
Set the caret dot and caret mark from the given MarkToDotRange.
The MarkToDotRange to use to position the JTextComponent.caret.