CodeMirrorEditor.forEachSelection method
CodeMirrorEditor › forEachSelection
Unofficial
Execute a function for each selection in a multi-selection.Signature:
forEachSelection(fn: () => void): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| fn | () => void | The function to execute for each selection. |
Returns: void