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:
Karl Burtram
2017-12-15 15:38:57 -08:00
committed by GitHub
parent 271b3a0b82
commit 6ad0df0e3e
7118 changed files with 107999 additions and 56466 deletions

View File

@@ -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.