/*
 * Copyright (C) 2016-2020 Kano Computing Ltd.
 * License: http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
 */
import { ContributionManager } from '../contribution.js';
const registeredEditors = new ContributionManager();
export function registerSourceEditor(id, sourceEditorClass) {
    return registeredEditors.register(id, sourceEditorClass);
}
export function getSourceEditor(id) {
    return registeredEditors.get(id);
}
//# sourceMappingURL=source-editor.js.map