Interface IEditorStickyScrollOptions

interface IEditorStickyScrollOptions {
    defaultModel?: "outlineModel" | "foldingProviderModel" | "indentationModel";
    enabled?: boolean;
    maxLineCount?: number;
    scrollWithEditor?: boolean;
}

Properties

defaultModel?: "outlineModel" | "foldingProviderModel" | "indentationModel"

Model to choose for sticky scroll by default

enabled?: boolean

Enable the sticky scroll

maxLineCount?: number

Maximum number of sticky lines to show

scrollWithEditor?: boolean

Define whether to scroll sticky scroll with editor horizontal scrollbae