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

@@ -74,4 +74,15 @@ export class LSPService {
let worker = new Worker(new URL('./webworker.js', import.meta.url));
return LanguageProvider.create(worker);
}
protected setSessionFilePath(session: any, mode: string = "", filePath: string = "") => {
if ( !session || !mode || !filePath || !this.languageProviders[mode] ) return;
this.languageProviders[mode].setSessionFilePath(session, filePath);
}
protected closeDocument(session: any, mode: string) => {
if ( !session || !mode || !this.languageProviders[mode] ) return;
this.languageProviders[mode].closeDocument(session);
}
}