Updated editor height; visualized which is active

This commit is contained in:
2025-06-11 23:02:45 -05:00
parent 71d3dc2573
commit dbbc6deaae
8 changed files with 30 additions and 12 deletions

View File

@@ -15,6 +15,7 @@ export class AceEditorBase {
cutBuffer: string = "";
timerId: number = -1;
activeFile!: NewtonFile;
isDefault: boolean = false;
constructor(
@@ -23,6 +24,14 @@ export class AceEditorBase {
}
public addActiveStyling() {
this.editorElm.nativeElement.classList.add("active-editor")
}
public removeActiveStyling() {
this.editorElm.nativeElement.classList.remove("active-editor")
}
protected search() {
console.log(this.editor.getSession()["$modeId"])
}