Properties
Protected Readonly editors
editors: EditorManager
Protected Readonly openerService
openerService: OpenerService
Protected Readonly preferencesService
preferencesService: PreferenceService
registerDecorationType
registerDecorationType: (key: string, options: IDecorationRenderOptions, parentTypeKey?: string, editor?: ICodeEditor) => void
Type declaration
-
- (key: string, options: IDecorationRenderOptions, parentTypeKey?: string, editor?: ICodeEditor): void
-
Parameters
-
key: string
-
options: IDecorationRenderOptions
-
Optional parentTypeKey: string
-
Optional editor: ICodeEditor
Returns void
removeDecorationType
removeDecorationType: (key: string) => void
resolveDecorationOptions
resolveDecorationOptions: (typeKey: string, writable: boolean) => IModelDecorationOptions
Type declaration
-
- (typeKey: string, writable: boolean): IModelDecorationOptions
-
Parameters
-
typeKey: string
-
writable: boolean
Returns IModelDecorationOptions
Protected Readonly shell
shell: ApplicationShell
Static Readonly ENABLE_PREVIEW_PREFERENCE
ENABLE_PREVIEW_PREFERENCE: string = 'editor.enablePreview'
Monaco active editor is either focused or last focused editor.