Wiring tabs to update editor and handle closing of file view

This commit is contained in:
2025-06-02 00:10:56 -05:00
parent 04e3bbcc77
commit 0d1fdfa031
9 changed files with 86 additions and 22 deletions

View File

@@ -144,4 +144,11 @@ export class AceEditorComponent extends AceEditorBase {
});
}
public newBuffer() {
let buffer = ace.createEditSession([""]);
this.editor.setSession(buffer);
this.activeFile = null;
}
}