Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BaseWidget
    • PreviewWidget

Implements

  • Navigatable

Index

Constructors

Properties

editorPreferences: EditorPreferences
firstUpdate: undefined | (() => void) = undefined
internalRevealForSourceLine: ((sourceLine: number) => void) = ...

Type declaration

    • (sourceLine: number): void
    • Parameters

      • sourceLine: number

      Returns void

onDidDoubleClickEmitter: Emitter<Location> = ...
onDidScrollEmitter: Emitter<number> = ...
preventScrollNotification: boolean = false
previewHandler: undefined | PreviewHandler
previewHandlerProvider: PreviewHandlerProvider
previousContent: undefined | string = undefined
resource: Resource
scrollBeyondLastLine: boolean
themeService: ThemeService
uri: URI
workspace: MonacoWorkspace

Accessors

  • get onDidDoubleClick(): Event<Location>
  • get onDidScroll(): Event<number>

Methods

  • createMoveToUri(resourceUri: URI): undefined | URI
  • didDoubleClick(offsetTop: number): void
  • didScroll(scrollTop: number): void
  • fireDidDoubleClickToSourceLine(line: number): void
  • fireDidScrollToSourceLine(line: number): void
  • forceUpdate(): void
  • getResourceUri(): undefined | URI
  • getUri(): URI
  • initialize(): Promise<void>
  • onActivateRequest(msg: Message): void
  • onBeforeAttach(msg: Message): void
  • onUpdateRequest(msg: Message): void
  • performUpdate(): Promise<void>
  • render(content: string, originUri: URI): Promise<undefined | HTMLElement>
  • revealForSourceLine(sourceLine: number): void
  • revealFragment(uri: URI): void
  • startDoubleClickListener(): Disposable
  • startScrollSync(): Disposable