mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-10 02:02:35 -05:00
Initial VS Code 1.19 source merge (#571)
* Initial 1.19 xcopy * Fix yarn build * Fix numerous build breaks * Next batch of build break fixes * More build break fixes * Runtime breaks * Additional post merge fixes * Fix windows setup file * Fix test failures. * Update license header blocks to refer to source eula
This commit is contained in:
@@ -8,7 +8,6 @@ import { INewScrollPosition, EndOfLinePreference, IViewState, IModelDecorationOp
|
||||
import { ViewLineToken } from 'vs/editor/common/core/viewLineToken';
|
||||
import { Position, IPosition } from 'vs/editor/common/core/position';
|
||||
import { Range } from 'vs/editor/common/core/range';
|
||||
import { Selection } from 'vs/editor/common/core/selection';
|
||||
import { ViewEvent, IViewEventListener } from 'vs/editor/common/view/viewEvents';
|
||||
import { IDisposable } from 'vs/base/common/lifecycle';
|
||||
import { Scrollable, IScrollPosition } from 'vs/base/common/scrollable';
|
||||
@@ -101,14 +100,12 @@ export interface ICoordinatesConverter {
|
||||
// View -> Model conversion and related methods
|
||||
convertViewPositionToModelPosition(viewPosition: Position): Position;
|
||||
convertViewRangeToModelRange(viewRange: Range): Range;
|
||||
convertViewSelectionToModelSelection(viewSelection: Selection): Selection;
|
||||
validateViewPosition(viewPosition: Position, expectedModelPosition: Position): Position;
|
||||
validateViewRange(viewRange: Range, expectedModelRange: Range): Range;
|
||||
|
||||
// Model -> View conversion and related methods
|
||||
convertModelPositionToViewPosition(modelPosition: Position): Position;
|
||||
convertModelRangeToViewRange(modelRange: Range): Range;
|
||||
convertModelSelectionToViewSelection(modelSelection: Selection): Selection;
|
||||
modelPositionIsVisible(modelPosition: Position): boolean;
|
||||
}
|
||||
|
||||
@@ -252,17 +249,18 @@ export class ViewLineRenderingData {
|
||||
}
|
||||
}
|
||||
|
||||
export const enum InlineDecorationType {
|
||||
Regular = 0,
|
||||
Before = 1,
|
||||
After = 2
|
||||
}
|
||||
|
||||
export class InlineDecoration {
|
||||
_inlineDecorationBrand: void;
|
||||
|
||||
readonly range: Range;
|
||||
readonly inlineClassName: string;
|
||||
readonly insertsBeforeOrAfter: boolean;
|
||||
|
||||
constructor(range: Range, inlineClassName: string, insertsBeforeOrAfter: boolean) {
|
||||
this.range = range;
|
||||
this.inlineClassName = inlineClassName;
|
||||
this.insertsBeforeOrAfter = insertsBeforeOrAfter;
|
||||
constructor(
|
||||
public readonly range: Range,
|
||||
public readonly inlineClassName: string,
|
||||
public readonly type: InlineDecorationType
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user