Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MonacoEditorZoneWidget

Hierarchy

  • MonacoEditorZoneWidget

Implements

  • Disposable

Index

Constructors

  • new MonacoEditorZoneWidget(editorInstance: IStandaloneCodeEditor, showArrow?: boolean): MonacoEditorZoneWidget

Properties

_options: undefined | MonacoEditorZoneWidget.Options
arrow: undefined | Arrow
containerNode: HTMLDivElement = ...
editor: IStandaloneCodeEditor
onDidLayoutChange: Event<IDimension> = ...
onDidLayoutChangeEmitter: Emitter<IDimension> = ...
showArrow: boolean = true
toDispose: DisposableCollection = ...
toHide: DisposableCollection = ...
viewZone: undefined | MonacoEditorViewZone
zoneNode: HTMLDivElement = ...

Accessors

Methods

  • computeContainerHeight(zoneHeight: number): { frameWidth: number; height: number }
  • computeLeft(info?: EditorLayoutInfo): number
  • computeWidth(info?: EditorLayoutInfo): number
  • dispose(): void
  • hide(): void
  • layout(heightInLines: number): void
  • updateContainerHeight(zoneHeight: number): void
  • updateHeight(zoneHeight: number): void
  • updateTop(top: number): void
  • updateWidth(info?: EditorLayoutInfo): void