Skip to content

CodeMirrorEditor.replaceSelections method

CodeMirrorEditor › replaceSelections

Unofficial

Replace all selections with the corresponding texts.

Signature:

replaceSelections(texts: string[]): void

Parameters:

Parameter Type Description
texts string[] The replacement texts for each selection.

Returns: void