mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from vscode 9bc92b48d945144abb405b9e8df05e18accb9148
This commit is contained in:
@@ -274,6 +274,16 @@ export class LanguageConfigurationRegistryImpl {
|
||||
return ensureValidWordDefinition(value.wordDefinition || null);
|
||||
}
|
||||
|
||||
public getWordDefinitions(): [LanguageId, RegExp][] {
|
||||
let result: [LanguageId, RegExp][] = [];
|
||||
this._entries.forEach((value, language) => {
|
||||
if (value) {
|
||||
result.push([language, value.wordDefinition]);
|
||||
}
|
||||
});
|
||||
return result;
|
||||
}
|
||||
|
||||
public getFoldingRules(languageId: LanguageId): FoldingRules {
|
||||
let value = this._getRichEditSupport(languageId);
|
||||
if (!value) {
|
||||
|
||||
Reference in New Issue
Block a user