mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Refresh master with initial release/0.24 snapshot (#332)
* Initial port of release/0.24 source code * Fix additional headers * Fix a typo in launch.json
This commit is contained in:
@@ -194,8 +194,16 @@ export enum Verbosity {
|
||||
|
||||
export interface IEditorInput extends IDisposable {
|
||||
|
||||
/**
|
||||
* Triggered when this input is disposed.
|
||||
*/
|
||||
onDispose: Event<void>;
|
||||
|
||||
/**
|
||||
* Returns the associated resource of this input.
|
||||
*/
|
||||
getResource(): URI;
|
||||
|
||||
/**
|
||||
* Returns the display name of this input.
|
||||
*/
|
||||
@@ -204,7 +212,7 @@ export interface IEditorInput extends IDisposable {
|
||||
/**
|
||||
* Returns the display description of this input.
|
||||
*/
|
||||
getDescription(verbose?: boolean): string;
|
||||
getDescription(verbosity?: Verbosity): string;
|
||||
|
||||
/**
|
||||
* Returns the display title of this input.
|
||||
@@ -275,17 +283,19 @@ export interface IEditorOptions {
|
||||
inactive?: boolean;
|
||||
}
|
||||
|
||||
export interface ITextEditorSelection {
|
||||
startLineNumber: number;
|
||||
startColumn: number;
|
||||
endLineNumber?: number;
|
||||
endColumn?: number;
|
||||
}
|
||||
|
||||
export interface ITextEditorOptions extends IEditorOptions {
|
||||
|
||||
/**
|
||||
* Text editor selection.
|
||||
*/
|
||||
selection?: {
|
||||
startLineNumber: number;
|
||||
startColumn: number;
|
||||
endLineNumber?: number;
|
||||
endColumn?: number;
|
||||
};
|
||||
selection?: ITextEditorSelection;
|
||||
|
||||
/**
|
||||
* Text editor view state.
|
||||
|
||||
Reference in New Issue
Block a user