If set, the decoration will be rendered after the text with this CSS class name.
If set, the decoration will be rendered before the text with this CSS class name.
CSS class name describing the decoration.
If set, the decoration will be rendered in the lines decorations with this CSS class name, but only for the first line in case of line wrapping.
If set, the decoration will be rendered in the glyph margin with this CSS class name.
Message to be rendered when hovering over the glyph margin decoration.
Array of MarkdownString to render as the decoration message.
If set, the decoration will be rendered inline with the text with this CSS class name.
Please use this only for CSS rules that must impact the text. For example, use className
to have a background color decoration.
If there is an inlineClassName
which affects letter spacing.
Should the decoration expand to encompass a whole line.
If set, the decoration will be rendered in the lines decorations with this CSS class name.
If set, the decoration will be rendered in the margin (covering its full width) with this CSS class name.
If set, render this decoration in the minimap.
If set, render this decoration in the overview ruler.
Customize the growing behavior of the decoration when typing at the edges of the decoration. Defaults to TrackedRangeStickiness.AlwaysGrowsWhenTypingAtEdges
Specifies the stack order of a decoration. A decoration with greater stack order is always in front of a decoration with a lower stack order.
Generated using TypeDoc
Options for a model decoration.