mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-11 10:38:31 -05:00
Merge from vscode a234f13c45b40a0929777cb440ee011b7549eed2 (#8911)
* Merge from vscode a234f13c45b40a0929777cb440ee011b7549eed2 * update distro * fix layering * update distro * fix tests
This commit is contained in:
@@ -41,7 +41,7 @@ export class Viewport {
|
||||
|
||||
export interface IViewLayout {
|
||||
|
||||
readonly scrollable: Scrollable;
|
||||
getScrollable(): Scrollable;
|
||||
|
||||
onMaxLineWidthChanged(width: number): void;
|
||||
|
||||
@@ -174,6 +174,10 @@ export class ViewLineData {
|
||||
* The maximum allowed column at this view line.
|
||||
*/
|
||||
public readonly maxColumn: number;
|
||||
/**
|
||||
* The visible column at the start of the line (after the fauxIndent).
|
||||
*/
|
||||
public readonly startVisibleColumn: number;
|
||||
/**
|
||||
* The tokens at this view line.
|
||||
*/
|
||||
@@ -184,12 +188,14 @@ export class ViewLineData {
|
||||
continuesWithWrappedLine: boolean,
|
||||
minColumn: number,
|
||||
maxColumn: number,
|
||||
startVisibleColumn: number,
|
||||
tokens: IViewLineTokens
|
||||
) {
|
||||
this.content = content;
|
||||
this.continuesWithWrappedLine = continuesWithWrappedLine;
|
||||
this.minColumn = minColumn;
|
||||
this.maxColumn = maxColumn;
|
||||
this.startVisibleColumn = startVisibleColumn;
|
||||
this.tokens = tokens;
|
||||
}
|
||||
}
|
||||
@@ -231,6 +237,10 @@ export class ViewLineRenderingData {
|
||||
* The tab size for this view model.
|
||||
*/
|
||||
public readonly tabSize: number;
|
||||
/**
|
||||
* The visible column at the start of the line (after the fauxIndent)
|
||||
*/
|
||||
public readonly startVisibleColumn: number;
|
||||
|
||||
constructor(
|
||||
minColumn: number,
|
||||
@@ -241,7 +251,8 @@ export class ViewLineRenderingData {
|
||||
mightContainNonBasicASCII: boolean,
|
||||
tokens: IViewLineTokens,
|
||||
inlineDecorations: InlineDecoration[],
|
||||
tabSize: number
|
||||
tabSize: number,
|
||||
startVisibleColumn: number
|
||||
) {
|
||||
this.minColumn = minColumn;
|
||||
this.maxColumn = maxColumn;
|
||||
@@ -254,6 +265,7 @@ export class ViewLineRenderingData {
|
||||
this.tokens = tokens;
|
||||
this.inlineDecorations = inlineDecorations;
|
||||
this.tabSize = tabSize;
|
||||
this.startVisibleColumn = startVisibleColumn;
|
||||
}
|
||||
|
||||
public static isBasicASCII(lineContent: string, mightContainNonBasicASCII: boolean): boolean {
|
||||
|
||||
Reference in New Issue
Block a user