Interface IGlyphMarginLanesModel
interface IGlyphMarginLanesModel {
requiredLanes: number;
getLanesAtLine(lineNumber: number): GlyphMarginLane[];
push(
lane: GlyphMarginLane,
range: Range,
persist?: boolean,
): void;
reset(maxLine: number): void;
}Properties§
§
readonly required Lanes: numberMethods§
§getLanesAtLine(lineNumber: number): GlyphMarginLane[]
getLanesAtLine(lineNumber: number): GlyphMarginLane[]
Gets the lanes that should be rendered starting at a given line number.
§push(
lane: GlyphMarginLane,
range: Range,
persist?: boolean,
): void
push(
lane: GlyphMarginLane,
range: Range,
persist?: boolean,
): void
Registers that a lane should be visible at the Range in the model.
§reset(maxLine: number): void
reset(maxLine: number): void
Resets the model and ensures it can contain at least maxLine lines.
The number of lanes that should be rendered in the editor.