Skip to content

CodeMirrorEditor.overWriteSelection method

CodeMirrorEditor › overWriteSelection

Unofficial

Overwrite the current selection with the given text.

Signature:

overWriteSelection(text: string): void

Parameters:

Parameter Type Description
text string The text to overwrite the selection with.

Returns: void