Skip to content

Type Editor


Type Editor / @type-editor/search / commands/replace-all / replaceAll

Variable: replaceAll

ts
const replaceAll: Command;

Defined in: commands/replace-all.ts:19

Replace all instances of the current search query in the document or search range.

Param

The editor state

Param

Optional dispatch function to apply the transaction

Returns

True if the command can be executed, false otherwise