$setSelectionFromCaretRange
functionSet a RangeSelection on the editor from the given CaretRange
Import
import { $setSelectionFromCaretRange } from '@modular/sdk/editor';Notes
- returns
- The new RangeSelection
Set a RangeSelection on the editor from the given CaretRange