eo-typewriterjs / TStyleCommand
Type Alias: TStyleCommand
ts
type TStyleCommand = TBaseCommand & object;Defined in: core/commands/types/style-command.type.ts:24
Type Declaration
| Name | Type | Defined in |
|---|---|---|
kind | typeof STYLE | core/commands/types/style-command.type.ts:25 |
cursor | TCursorSelector | core/commands/types/style-command.type.ts:26 |
style | TStyleRef | core/commands/types/style-command.type.ts:27 |
range | TStyleRange | "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.