mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 02:48:30 -05:00
Merge from vscode 61d5f2b82f17bf9f99f56405204caab88a7e8747
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
import { IMarkdownString } from 'vs/base/common/htmlContent';
|
||||
import { IDisposable } from 'vs/base/common/lifecycle';
|
||||
import { Event } from 'vs/base/common/event';
|
||||
import { URI, UriComponents } from 'vs/base/common/uri';
|
||||
import { ConfigurationChangedEvent, IComputedEditorOptions, IEditorOptions } from 'vs/editor/common/config/editorOptions';
|
||||
import { IPosition, Position } from 'vs/editor/common/core/position';
|
||||
@@ -529,6 +530,24 @@ export interface IDiffEditor extends IEditor {
|
||||
getModifiedEditor(): IEditor;
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export interface ICompositeCodeEditor {
|
||||
|
||||
/**
|
||||
* An event that signals that the active editor has changed
|
||||
*/
|
||||
readonly onDidChangeActiveEditor: Event<ICompositeCodeEditor>;
|
||||
|
||||
/**
|
||||
* The active code editor iff any
|
||||
*/
|
||||
readonly activeCodeEditor: IEditor | undefined;
|
||||
// readonly editors: readonly ICodeEditor[] maybe supported with uris
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* An editor contribution that gets created every time a new editor gets created and gets disposed when the editor gets disposed.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user