interface VirtualRenderer {
    $padding: number;
    characterWidth: number;
    container: HTMLElement;
    content: HTMLElement;
    lineHeight: number;
    scrollLeft: number;
    scrollTop: number;
    scroller: HTMLElement;
    addEventListener(name, callback, capturing?): void;
    adjustWrapLimit(): boolean;
    alignCursor(cursor, alignment): number;
    animateScrolling(fromValue, callback): void;
    attachToShadowRoot(): void;
    destroy(): void;
    freeze(): void;
    getAnimatedScroll(): boolean;
    getContainerElement(): HTMLElement;
    getDisplayIndentGuides(): boolean;
    getFadeFoldWidgets(): boolean;
    getFirstFullyVisibleRow(): number;
    getFirstVisibleRow(): number;
    getHScrollBarAlwaysVisible(): boolean;
    getHighlightGutterLine(): boolean;
    getLastFullyVisibleRow(): number;
    getLastVisibleRow(): number;
    getMouseEventTarget(): HTMLElement;
    getOption<T>(name): VirtualRendererOptions[T];
    getOptions(optionNames?): {
        [key: string]: any;
    };
    getPrintMarginColumn(): boolean;
    getScrollBottomRow(): number;
    getScrollLeft(): number;
    getScrollTop(): number;
    getScrollTopRow(): number;
    getShowGutter(): boolean;
    getShowInvisibles(): boolean;
    getShowPrintMargin(): boolean;
    getTextAreaContainer(): HTMLElement;
    getTheme(): string;
    getVScrollBarAlwaysVisible(): boolean;
    hideComposition(): void;
    hideCursor(): void;
    isScrollableBy(deltaX, deltaY): boolean;
    off(name, callback): void;
    on(name, callback, capturing?): void;
    once(name, callback): void;
    pixelToScreenCoordinates(x, y): {
        column: number;
        offsetX: number;
        row: number;
        side: 1 | -1;
    };
    removeAllListeners(name?): void;
    removeDefaultHandler(name, callback): void;
    removeEventListener(name, callback): void;
    removeGhostText(): void;
    removeListener(name, callback): void;
    scrollBy(deltaX, deltaY): void;
    scrollCursorIntoView(cursor, offset?): void;
    scrollSelectionIntoView(anchor, lead, offset?): void;
    scrollTo(x, y): void;
    scrollToLine(line, center, animate, callback): void;
    scrollToRow(row): void;
    scrollToX(scrollLeft): void;
    scrollToY(scrollTop): void;
    setAnimatedScroll(shouldAnimate): void;
    setAnnotations(annotations): void;
    setCompositionText(text): void;
    setCursorStyle(style): void;
    setDefaultHandler(name, callback): void;
    setDisplayIndentGuides(display): void;
    setFadeFoldWidgets(show): void;
    setGhostText(text, position): void;
    setHScrollBarAlwaysVisible(alwaysVisible): void;
    setHighlightGutterLine(shouldHighlight): void;
    setMouseCursor(cursorStyle): void;
    setOption<T>(name, value): void;
    setOptions(optList): void;
    setPadding(padding): void;
    setPrintMarginColumn(showPrintMargin): void;
    setScrollMargin(top, bottom, left, right): void;
    setSession(session): void;
    setShowGutter(show): void;
    setShowInvisibles(showInvisibles): void;
    setShowPrintMargin(showPrintMargin): void;
    setStyle(style, include?): void;
    setTheme(theme, callback?): void;
    setVScrollBarAlwaysVisible(alwaysVisible): void;
    showComposition(position): void;
    showCursor(): void;
    textToScreenCoordinates(row, column): {
        pageX: number;
        pageY: number;
    };
    unfreeze(): void;
    unsetStyle(style): void;
    updateBackMarkers(): void;
    updateBreakpoints(): void;
    updateCursor(): void;
    updateFontSize(): void;
    updateFrontMarkers(): void;
    updateFull(force?): void;
    updateLines(firstRow, lastRow, force?): void;
    updateText(): void;
    visualizeBlur(): void;
    visualizeFocus(): void;
}

Hierarchy (view full)

Properties

Methods

Properties

$padding: number
characterWidth: number
container: HTMLElement
content: HTMLElement
lineHeight: number
scrollLeft: number
scrollTop: number
scroller: HTMLElement

Methods

  • Returns boolean

  • Parameters

    Returns number

  • Parameters

    • fromValue: number
    • callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • Returns void

  • Returns boolean

  • Returns HTMLElement

  • Returns boolean

  • Returns boolean

  • Returns number

  • Returns number

  • Returns boolean

  • Returns boolean

  • Returns number

  • Returns number

  • Returns HTMLElement

  • Parameters

    • Optional optionNames: string[] | {
          [key: string]: any;
      }

    Returns {
        [key: string]: any;
    }

    • [key: string]: any
  • Returns boolean

  • Returns number

  • Returns number

  • Returns number

  • Returns boolean

  • Returns boolean

  • Returns boolean

  • Returns HTMLElement

  • Returns boolean

  • Parameters

    • deltaX: number
    • deltaY: number

    Returns boolean

  • Parameters

    • name: string
    • callback: Function
    • Optional capturing: boolean

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns {
        column: number;
        offsetX: number;
        row: number;
        side: 1 | -1;
    }

    • column: number
    • offsetX: number
    • row: number
    • side: 1 | -1
  • Parameters

    • deltaX: number
    • deltaY: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns void

  • Parameters

    • line: number
    • center: boolean
    • animate: boolean
    • callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    • row: number

    Returns void

  • Parameters

    • scrollLeft: number

    Returns void

  • Parameters

    • scrollTop: number

    Returns void

  • Parameters

    • shouldAnimate: boolean

    Returns void

  • Parameters

    • text: string

    Returns void

  • Parameters

    • style: string

    Returns void

  • Parameters

    • display: boolean

    Returns void

  • Parameters

    • show: boolean

    Returns void

  • Parameters

    Returns void

  • Parameters

    • alwaysVisible: boolean

    Returns void

  • Parameters

    • shouldHighlight: boolean

    Returns void

  • Parameters

    • cursorStyle: string

    Returns void

  • Parameters

    • padding: number

    Returns void

  • Parameters

    • showPrintMargin: boolean

    Returns void

  • Parameters

    • top: number
    • bottom: number
    • left: number
    • right: number

    Returns void

  • Parameters

    • show: boolean

    Returns void

  • Parameters

    • showInvisibles: boolean

    Returns void

  • Parameters

    • showPrintMargin: boolean

    Returns void

  • Parameters

    • style: string
    • Optional include: boolean

    Returns void

  • Parameters

    • theme: string
    • Optional callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    • alwaysVisible: boolean

    Returns void

  • Parameters

    • position: number

    Returns void

  • Parameters

    • row: number
    • column: number

    Returns {
        pageX: number;
        pageY: number;
    }

    • pageX: number
    • pageY: number
  • Parameters

    • style: string

    Returns void

  • Returns void

  • Returns void

  • Returns void

  • Parameters

    • Optional force: boolean

    Returns void

  • Parameters

    • firstRow: number
    • lastRow: number
    • Optional force: boolean

    Returns void

Generated using TypeDoc