Skip to content

eo-typewriterjs


eo-typewriterjs / TDeleteValue

Type Alias: TDeleteValue

ts
type TDeleteValue = number | "start" | "end" | "whole";

Defined in: core/commands/types/delete-command.type.ts:14

Description

The boundary operand for a delete command.

  • "start": delete from the cursor back to the start of the document
  • "end": delete from the cursor forward to the end of the document
  • "whole": delete the entire document text
  • number: signed count - positive = forward, negative = backward

Released under the MIT License.