Added lsp service methods; fixed margin width line; cleanup
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user