Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DocumentsMainImpl

Implements

Index

Constructors

Properties

modelReferenceCache: ModelReferenceCollection = ...
saveTimeout: number = 1750
syncedModels: Map<string, Disposable> = ...
toDispose: DisposableCollection = ...

Methods

  • $tryCloseDocument(uri: UriComponents): Promise<boolean>
  • $tryCreateDocument(options?: { content?: string; language?: string }): Promise<UriComponents>
  • $tryOpenDocument(uri: UriComponents): Promise<boolean>
  • $trySaveDocument(uri: UriComponents): Promise<boolean>
  • dispose(): void
  • onModelAdded(model: MonacoEditorModel): void
  • onModelChanged(event: { model: MonacoEditorModel; oldModeId: string }): void
  • onModelRemoved(url: Uri): void