mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
Update language service
This commit is contained in:
parent
79ec6c6841
commit
46354e4c4b
3 changed files with 5 additions and 5 deletions
|
|
@ -47,9 +47,9 @@ export class HTMLWorker {
|
|||
let highlights = this._languageService.findDocumentHighlights(document, position, htmlDocument);
|
||||
return Promise.as(highlights);
|
||||
}
|
||||
findDocumentLinks(uri: string, workspacePath: string): Promise<ls.DocumentLink[]> {
|
||||
findDocumentLinks(uri: string): Promise<ls.DocumentLink[]> {
|
||||
let document = this._getTextDocument(uri);
|
||||
let links = this._languageService.findDocumentLinks(document, workspacePath);
|
||||
let links = this._languageService.findDocumentLinks(document, null);
|
||||
return Promise.as(links);
|
||||
}
|
||||
private _getTextDocument(uri: string): ls.TextDocument {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue