UNPKG

monaco-editor-core

Version:

A browser based code editor

14 lines (13 loc) 1.03 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { registerEditorAction, registerEditorContribution } from '../../../browser/editorExtensions.js'; import { TriggerInlineEditAction, ShowNextInlineEditAction, ShowPreviousInlineEditAction, AcceptInlineEdit, HideInlineEdit } from './commands.js'; import { InlineEditsController } from './inlineEditsController.js'; registerEditorContribution(InlineEditsController.ID, InlineEditsController, 3 /* EditorContributionInstantiation.Eventually */); registerEditorAction(TriggerInlineEditAction); registerEditorAction(ShowNextInlineEditAction); registerEditorAction(ShowPreviousInlineEditAction); registerEditorAction(AcceptInlineEdit); registerEditorAction(HideInlineEdit);