setCaretFrom

Set the caret dot and caret mark from the given MarkToDotRange.

Parameters

range

The MarkToDotRange to use to position the JTextComponent.caret.