Interface IEditorMinimapOptions
Expand description
interface IEditorMinimapOptions {
autohide?: "none" | "mouseover" | "scroll";
enabled?: boolean;
markSectionHeaderRegex?: string;
maxColumn?: number;
renderCharacters?: boolean;
scale?: number;
sectionHeaderFontSize?: number;
sectionHeaderLetterSpacing?: number;
showMarkSectionHeaders?: boolean;
showRegionSectionHeaders?: boolean;
showSlider?: "always" | "mouseover";
side?: "right" | "left";
size?: "proportional" | "fill" | "fit";
}Properties§
autohide?: "none" | "mouseover" | "scroll"Control the rendering of minimap.
enabled?: booleanEnable the rendering of the minimap. Defaults to true.
mark Section Header Regex?: stringWhen specified, is used to create a custom section header parser regexp. Must contain a match group named 'label' (written as (?
max Column?: numberLimit the width of the minimap to render at most a certain number of columns. Defaults to 120.
render Characters?: booleanRender the actual text on a line (as opposed to color blocks). Defaults to true.
scale?: numberRelative size of the font in the minimap. Defaults to 1.
section Header Font Size?: numberFont size of section headers. Defaults to 9.
section Header Letter Spacing?: numberSpacing between the section header characters (in CSS px). Defaults to 1.
show Mark Section Headers?: booleanWhether to show MARK: comments as section headers. Defaults to true.
show Region Section Headers?: booleanWhether to show named regions as section headers. Defaults to true.
show Slider?: "always" | "mouseover"Control the rendering of the minimap slider. Defaults to 'mouseover'.
side?: "right" | "left"Control the side of the minimap in editor. Defaults to 'right'.
size?: "proportional" | "fill" | "fit"Control the minimap rendering mode. Defaults to 'actual'.
Configuration options for editor minimap