Skip to content

Commit

Permalink
feat: export some function that may be useful
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean authored and CGNonofr committed Apr 18, 2024
1 parent 9243ee5 commit 43e515e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/monaco.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ import { Event } from 'vs/base/common/event'
import { ResourceContextKey } from 'vs/workbench/common/contextkeys'
import { createInjectedClass } from './tools/injection'
import { getService } from './services'
export { registerEditorAction, registerEditorContribution, registerDiffEditorContribution, registerMultiEditorAction, EditorAction, EditorCommand } from 'vs/editor/browser/editorExtensions'
export { IEditorContribution, IDiffEditorContribution } from 'vs/editor/common/editorCommon'

function computeConfiguration (configuration: IEditorConfiguration, overrides?: Readonly<IEditorOptions>): IEditorOptions {
const editorConfiguration: IEditorOptions = isObject(configuration.editor) ? deepClone(configuration.editor) : Object.create(null)
Expand Down

0 comments on commit 43e515e

Please sign in to comment.