Interface EditorLayoutInfo
Expand description
interface EditorLayoutInfo {
contentLeft: number;
contentWidth: number;
decorationsLeft: number;
decorationsWidth: number;
glyphMarginDecorationLaneCount: number;
glyphMarginLeft: number;
glyphMarginWidth: number;
height: number;
horizontalScrollbarHeight: number;
isViewportWrapping: boolean;
isWordWrapMinified: boolean;
lineNumbersLeft: number;
lineNumbersWidth: number;
minimap: EditorMinimapLayoutInfo;
overviewRuler: OverviewRulerPosition;
verticalScrollbarWidth: number;
viewportColumn: number;
width: number;
wrappingColumn: number;
}Properties§
§§§§§§§§§§§§§§§§§
readonly content Left: numberLeft position for the content (actual text)
readonly content Width: numberThe width of the content (actual text)
readonly decorations Left: numberLeft position for the line decorations.
readonly decorations Width: numberThe width of the line decorations.
readonly glyph Margin Decoration Lane Count: numberThe number of decoration lanes to render in the glyph margin.
readonly glyph Margin Left: numberLeft position for the glyph margin.
readonly glyph Margin Width: numberThe width of the glyph margin.
readonly height: numberFull editor height.
readonly horizontal Scrollbar Height: numberThe height of the horizontal scrollbar.
readonly is Viewport Wrapping: boolean§readonly is Word Wrap Minified: boolean§readonly line Numbers Left: numberLeft position for the line numbers.
readonly line Numbers Width: numberThe width of the line numbers.
readonly minimap: EditorMinimapLayoutInfoLayout information for the minimap
readonly overview Ruler: OverviewRulerPositionThe position of the overview ruler.
readonly vertical Scrollbar Width: numberThe width of the vertical scrollbar.
readonly viewport Column: numberThe number of columns (of typical characters) fitting on a viewport line.
readonly width: numberFull editor width.
readonly wrapping Column: number
The internal layout details of the editor.