Function: Delete()

August 19, 2026 ยท View on GitHub

API


Function: Delete()

Delete(editor, range?): void

Defined in: commands.ts:16

Delete content in the selection or specified range.

Parameters

editor

Editor

range?

Range = ...

Returns

void

Contents

  1. 1Parameters
  2. 1.1editor
  3. 1.2range?
  4. 2Returns