mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Links no longer clickable in HTML. Fixes #16376
This commit is contained in:
parent
172184c86f
commit
ff95c2db18
|
@ -85,14 +85,14 @@ export function getLanguageModes(supportedLanguages: { [languageId: string]: boo
|
|||
});
|
||||
},
|
||||
getAllModesInDocument(document: TextDocument): LanguageMode[] {
|
||||
let modes = [];
|
||||
let result = [];
|
||||
for (let languageId of documentRegions.get(document).getLanguagesInDocument()) {
|
||||
let mode = modes[languageId];
|
||||
if (mode) {
|
||||
modes.push(mode);
|
||||
result.push(mode);
|
||||
}
|
||||
}
|
||||
return modes;
|
||||
return result;
|
||||
},
|
||||
getAllModes(): LanguageMode[] {
|
||||
let result = [];
|
||||
|
|
Loading…
Reference in a new issue