Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DocumentsMainImpl

Hierarchy

  • DocumentsMainImpl

Implements

Index

Constructors

constructor

Properties

Private Readonly modelReferenceCache

modelReferenceCache: ModelReferenceCollection = ...

Private Readonly proxy

Protected saveTimeout

saveTimeout: number = 1750

Private Readonly syncedModels

syncedModels: Map<string, Disposable> = ...

Private Readonly toDispose

toDispose: DisposableCollection = ...

Methods

$tryCloseDocument

$tryCreateDocument

  • $tryCreateDocument(options?: { content?: string; language?: string }): Promise<UriComponents>

$tryOpenDocument

$trySaveDocument

$tryShowDocument

dispose

  • dispose(): void

Private onModelAdded

  • onModelAdded(model: MonacoEditorModel): void

Private onModelChanged

  • onModelChanged(event: { model: MonacoEditorModel; oldModeId: string }): void

Private onModelRemoved

  • onModelRemoved(url: Uri): void

Static toEditorOpenerOptions

  • toEditorOpenerOptions(shell: ApplicationShell, options?: TextDocumentShowOptions): undefined | EditorOpenerOptions