blob: e72ff8b7c25b38680db6546f9b87299c819aa8f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
import * as vscode from "vscode";
import MockPosition from "./MockPosition";
export default class MockSelection implements vscode.Selection {
public anchor: vscode.Position;
public active: vscode.Position;
public isReversed: boolean;
public start: vscode.Position;
public end: vscode.Position;
public isEmpty: boolean;
public isSingleLine: boolean;
public constructor(a: MockPosition) {
this.active = a;
this.start = a;
}
public contains(positionOrRange: vscode.Range | vscode.Position): boolean {
throw new Error("Method not implemented.");
}
public isEqual(other: vscode.Range): boolean {
throw new Error("Method not implemented.");
}
public intersection(range: vscode.Range): vscode.Range {
throw new Error("Method not implemented.");
}
public union(other: vscode.Range): vscode.Range {
throw new Error("Method not implemented.");
}
public with(start?: vscode.Position, end?: vscode.Position): vscode.Range;
public with(change: { start?: vscode.Position; end?: vscode.Position; }): vscode.Range;
public with(start?: any, end?: any): any {
throw new Error("Method not implemented.");
}
}
|