Skip to content

eo-typewriterjs


eo-typewriterjs / TStyleCommand

Type Alias: TStyleCommand

ts
type TStyleCommand = TBaseCommand & object;

Defined in: core/commands/types/style-command.type.ts:24

Type Declaration

NameTypeDefined in
kindtypeof STYLEcore/commands/types/style-command.type.ts:25
cursorTCursorSelectorcore/commands/types/style-command.type.ts:26
styleTStyleRefcore/commands/types/style-command.type.ts:27
rangeTStyleRange | "selection"core/commands/types/style-command.type.ts:28

Description

A command that applies a style to a range of already-typed text. The range may be specified as absolute document indices via range, or as "selection" to apply the style to each targeted cursor's active selection.

Released under the MIT License.