<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`Editor`](Editor) › [`getRange`](Editor/getRange) ## Editor.getRange() method **Signature:** ```typescript abstract getRange(from: EditorPosition, to: EditorPosition): string; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>from</code> | [`EditorPosition`](EditorPosition) | | | <code>to</code> | [`EditorPosition`](EditorPosition) | | **Returns:** `string`