Added lsp service methods; fixed margin width line; cleanup

This commit is contained in:
2025-06-27 23:52:41 -05:00
parent d7c8ea1902
commit d1dbb7efcc
5 changed files with 20 additions and 7 deletions

View File

@@ -46,13 +46,16 @@ export class NewtonEditorComponent extends NewtonEditorBase {
}
private loadAce(): void {
this.configAceAndBindToElement()
this.loadAceKeyBindings();
this.loadAceEventBindings();
}
private configAceAndBindToElement(): void {
ace.config.set('basePath', this.editorSettings.BASE_PATH);
this.editor = ace.edit( this.editorElm.nativeElement );
this.editor.setOptions( this.editorSettings.CONFIG );
this.loadAceKeyBindings();
this.loadAceEventBindings();
}
private loadAceKeyBindings(): void {