mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-17 03:21:40 -04:00
Merge from vscode 8e0f348413f4f616c23a88ae30030efa85811973 (#6381)
* Merge from vscode 8e0f348413f4f616c23a88ae30030efa85811973 * disable strict null check
This commit is contained in:
@@ -26,25 +26,45 @@ export enum OverviewRulerLane {
|
||||
}
|
||||
|
||||
/**
|
||||
* Options for rendering a model decoration in the overview ruler.
|
||||
* Position in the minimap to render the decoration.
|
||||
*/
|
||||
export interface IModelDecorationOverviewRulerOptions {
|
||||
export enum MinimapPosition {
|
||||
Inline = 1
|
||||
}
|
||||
|
||||
export interface IDecorationOptions {
|
||||
/**
|
||||
* CSS color to render in the overview ruler.
|
||||
* CSS color to render.
|
||||
* e.g.: rgba(100, 100, 100, 0.5) or a color from the color registry
|
||||
*/
|
||||
color: string | ThemeColor | undefined;
|
||||
/**
|
||||
* CSS color to render in the overview ruler.
|
||||
* CSS color to render.
|
||||
* e.g.: rgba(100, 100, 100, 0.5) or a color from the color registry
|
||||
*/
|
||||
darkColor?: string | ThemeColor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Options for rendering a model decoration in the overview ruler.
|
||||
*/
|
||||
export interface IModelDecorationOverviewRulerOptions extends IDecorationOptions {
|
||||
/**
|
||||
* The position in the overview ruler.
|
||||
*/
|
||||
position: OverviewRulerLane;
|
||||
}
|
||||
|
||||
/**
|
||||
* Options for rendering a model decoration in the overview ruler.
|
||||
*/
|
||||
export interface IModelDecorationMinimapOptions extends IDecorationOptions {
|
||||
/**
|
||||
* The position in the overview ruler.
|
||||
*/
|
||||
position: MinimapPosition;
|
||||
}
|
||||
|
||||
/**
|
||||
* Options for a model decoration.
|
||||
*/
|
||||
@@ -89,6 +109,10 @@ export interface IModelDecorationOptions {
|
||||
* If set, render this decoration in the overview ruler.
|
||||
*/
|
||||
overviewRuler?: IModelDecorationOverviewRulerOptions | null;
|
||||
/**
|
||||
* If set, render this decoration in the minimap.
|
||||
*/
|
||||
minimap?: IModelDecorationMinimapOptions | null;
|
||||
/**
|
||||
* If set, the decoration will be rendered in the glyph margin with this CSS class name.
|
||||
*/
|
||||
@@ -759,7 +783,7 @@ export interface ITextModel {
|
||||
* Flush all tokenization state.
|
||||
* @internal
|
||||
*/
|
||||
flushTokens(): void;
|
||||
resetTokenization(): void;
|
||||
|
||||
/**
|
||||
* Force tokenization information for `lineNumber` to be accurate.
|
||||
@@ -1092,6 +1116,12 @@ export interface ITextModel {
|
||||
* @internal
|
||||
*/
|
||||
onDidChangeTokens(listener: (e: IModelTokensChangedEvent) => void): IDisposable;
|
||||
/**
|
||||
* An event emitted when the model has been attached to the first editor or detached from the last editor.
|
||||
* @event
|
||||
* @internal
|
||||
*/
|
||||
onDidChangeAttached(listener: () => void): IDisposable;
|
||||
/**
|
||||
* An event emitted right before disposing the model.
|
||||
* @event
|
||||
|
||||
Reference in New Issue
Block a user