eo-typewriterjs / TDeleteCommand
Type Alias: TDeleteCommand
ts
type TDeleteCommand = TBaseCommand & object;Defined in: core/commands/types/delete-command.type.ts:29
Type Declaration
Description
A command representing the user's intent to delete text from the document.
Signed count semantics when count is a number:
- positive: delete forward from the cursor
- negative: delete backward from the cursor
String operand semantics:
"start": delete from cursor back to document start"end": delete from cursor forward to document end"whole": delete the entire document