Skip to content

CodeMirrorEditor.replaceSelections method

CodeMirrorEditor › replaceSelections

Unofficial

Replace all selections with the corresponding texts.

Signature:

replaceSelections(texts: string[]): void

Parameters:

ParameterTypeDescription
textsstring[]The replacement texts for each selection.

Returns: void