Class: EditStyle
core/editStyles.EditStyle
Constructors
constructor
• new EditStyle(colorName
)
Parameters
Name | Type |
---|---|
colorName | "pendingDeleteBackground" | "referencedBackground" | "pendingModification0Background" | "pendingModification1Background" | "justAddedBackground" | "highlight0Background" | "highlight1Background" |
Defined in
core/editStyles.ts:26
Properties
line
• line: TextEditorDecorationType
Defined in
core/editStyles.ts:24
name
• name: "pendingDeleteBackground"
| "referencedBackground"
| "pendingModification0Background"
| "pendingModification1Background"
| "justAddedBackground"
| "highlight0Background"
| "highlight1Background"
Defined in
core/editStyles.ts:22
token
• token: TextEditorDecorationType
Defined in
core/editStyles.ts:23
Methods
dispose
▸ dispose(): void
Returns
void
Defined in
core/editStyles.ts:43
getDecoration
▸ getDecoration(isToken
): TextEditorDecorationType
Parameters
Name | Type |
---|---|
isToken | boolean |
Returns
TextEditorDecorationType
Defined in
core/editStyles.ts:39