Wiring tabs to update editor and handle closing of file view
This commit is contained in:
@@ -144,4 +144,11 @@ export class AceEditorComponent extends AceEditorBase {
|
||||
});
|
||||
}
|
||||
|
||||
public newBuffer() {
|
||||
let buffer = ace.createEditSession([""]);
|
||||
this.editor.setSession(buffer);
|
||||
this.activeFile = null;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user