Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EditorDecorationOptions

Hierarchy

  • EditorDecorationOptions

Index

Properties

Optional afterContentClassName

afterContentClassName: string

the decoration will be rendered after the text with this class name.

Optional beforeContentClassName

beforeContentClassName: string

the decoration will be rendered before the text with this class name.

Optional className

className: string

CSS class name of this decoration.

Optional glyphMarginClassName

glyphMarginClassName: string

the decoration will be rendered in the glyph margin with this class name.

Optional glyphMarginHoverMessage

glyphMarginHoverMessage: string

hover message for the glyph margin of this decoration.

Optional hoverMessage

hoverMessage: string

hover message for this decoration.

Optional inlineClassName

inlineClassName: string

the decoration will be rendered inline with this class name. to be used only to change text, otherwise use className.

Optional isWholeLine

isWholeLine: boolean

should the decoration be rendered for the whole line.

Optional linesDecorationsClassName

linesDecorationsClassName: string

the decoration will be rendered in the lines decorations with this class name.

Optional marginClassName

marginClassName: string

the decoration will be rendered in the margin in full width with this class name.

Optional minimap

If set, render this decoration in the minimap.

Optional overviewRuler

render this decoration in the overview ruler.

Optional stickiness

behavior of decorations when typing/editing near their edges.