CodeMirrorEditor.replaceSelection method
CodeMirrorEditor › replaceSelection
Unofficial
Replace the current selection with the given text.Signature:
replaceSelection(text: string): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| text | string | The replacement text. |
Returns: void