Added files list search; keybinding cleanup

This commit is contained in:
2025-06-22 00:01:49 -05:00
parent ad92bfc648
commit 9915b98700
4 changed files with 66 additions and 4 deletions

View File

@@ -31,6 +31,14 @@ export class FilesService {
return this.files.get(path);
}
public getAllPaths(): string[] {
return [...this.files.keys()];
}
public getAllFiles(): NewtonFile[] {
return [...this.files.values()];
}
public delete(file: NewtonFile) {
file.session.destroy();
window.fs.closeFile(file.path);