mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
Merge branch 'autocompleteHomeEndSupport' of https://github.com/mlewand/vscode into mlewand-autocompleteHomeEndSupport
This commit is contained in:
@@ -716,6 +716,16 @@ export class List<T> implements ISpliceable<T>, IDisposable {
|
||||
}
|
||||
}
|
||||
|
||||
focusLast(): void {
|
||||
if (this.length === 0) { return; }
|
||||
this.setFocus([this.length - 1]);
|
||||
}
|
||||
|
||||
focusFirst(): void {
|
||||
if (this.length === 0) { return; }
|
||||
this.setFocus([0]);
|
||||
}
|
||||
|
||||
getFocus(): number[] {
|
||||
return this.focus.get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user