HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/self/root/usr/share/node_modules/@types/codemirror/addon/scroll/
Upload File :
Current File : //proc/self/root/usr/share/node_modules/@types/codemirror/addon/scroll/annotatescrollbar.d.ts
import * as CodeMirror from '../..';
import './searchcursor';

export interface Annotation {
    clear(): void;
    /**
     * Updates the ranges to be highlighted. The array must be sorted.
     */
    update(annotations: Array<{ from: CodeMirror.Position, to: CodeMirror.Position }>): void;
}

export interface AnnotateScrollbarOptions {
    className: string;
    scrollButtonHeight?: number | undefined;
    listenForChanges?: boolean | undefined;
}

declare module '../../' {
    interface Editor {
        annotateScrollbar(options: string | AnnotateScrollbarOptions): Annotation;
    }

    interface EditorConfiguration {
        scrollButtonHeight?: number | undefined;
    }
}