Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EditorModelService

Index

Constructors

  • new EditorModelService(monacoModelService: MonacoTextModelService, monacoWorkspace: MonacoWorkspace): EditorModelService

Properties

modelDirtyEmitter: Emitter<MonacoEditorModel> = ...
modelModeChangedEmitter: Emitter<{ model: MonacoEditorModel; oldModeId: string }> = ...
modelSavedEmitter: Emitter<MonacoEditorModel> = ...
monacoModelService: MonacoTextModelService
onModelDirtyChanged: Event<MonacoEditorModel> = ...
onModelModeChanged: Event<{ model: MonacoEditorModel; oldModeId: string }> = ...
onModelRemoved: Event<MonacoEditorModel> = ...
onModelRemovedEmitter: Emitter<MonacoEditorModel> = ...
onModelSaved: Event<MonacoEditorModel> = ...
onModelWillSave: Event<WillSaveMonacoModelEvent> = ...
onModelWillSavedEmitter: Emitter<WillSaveMonacoModelEvent> = ...

Accessors

  • get onModelAdded(): Event<MonacoEditorModel>

Methods

  • createModelReference(uri: URI): Promise<Reference<MonacoEditorModel>>
  • getModels(): MonacoEditorModel[]
  • modelCreated(model: MonacoEditorModel): void
  • saveAll(includeUntitled?: boolean): Promise<boolean>