home, end in suggest

fixes #10263
This commit is contained in:
Joao Moreno
2016-08-08 17:34:52 +02:00
parent 11d23f1562
commit 82211b4d3d
4 changed files with 90 additions and 1 deletions

View File

@@ -376,6 +376,16 @@ export class List<T> implements IDisposable {
}
}
focusFirst(): void {
if (this.length === 0) { return; }
this.setFocus(0);
}
focusLast(): void {
if (this.length === 0) { return; }
this.setFocus(this.length - 1);
}
getFocus(): number[] {
return this.focus.get();
}