Skip to content

Commit 8afdb51

Browse files
authored
Merge pull request microsoft#76360 from tony-xia/variable-wording
Fixed variables wording issues
2 parents 3395f8f + be880e8 commit 8afdb51

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/vs/workbench/browser/parts/editor/editorGroupView.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ export class EditorGroupView extends Themable implements IEditorGroupView {
212212
this.updateStyles();
213213
}
214214

215-
private handleGroupContextKeys(contextKeyServcie: IContextKeyService): void {
216-
const groupActiveEditorDirtyContextKey = EditorGroupActiveEditorDirtyContext.bindTo(contextKeyServcie);
217-
const groupEditorsCountContext = EditorGroupEditorsCountContext.bindTo(contextKeyServcie);
215+
private handleGroupContextKeys(contextKeyService: IContextKeyService): void {
216+
const groupActiveEditorDirtyContextKey = EditorGroupActiveEditorDirtyContext.bindTo(contextKeyService);
217+
const groupEditorsCountContext = EditorGroupEditorsCountContext.bindTo(contextKeyService);
218218

219219
let activeEditorListener = new MutableDisposable();
220220

src/vs/workbench/contrib/preferences/browser/preferencesSearch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ export class SettingMatches {
114114
const descriptionRanges: IRange[] = this.getRangesForWords(words, this.descriptionMatchingWords, [subSettingMatches.descriptionMatchingWords, subSettingMatches.keyMatchingWords, subSettingMatches.valueMatchingWords]);
115115
const keyRanges: IRange[] = this.getRangesForWords(words, this.keyMatchingWords, [subSettingMatches.descriptionMatchingWords, subSettingMatches.keyMatchingWords, subSettingMatches.valueMatchingWords]);
116116
const subSettingKeyRanges: IRange[] = this.getRangesForWords(words, subSettingMatches.keyMatchingWords, [this.descriptionMatchingWords, this.keyMatchingWords, subSettingMatches.valueMatchingWords]);
117-
const subSettinValueRanges: IRange[] = this.getRangesForWords(words, subSettingMatches.valueMatchingWords, [this.descriptionMatchingWords, this.keyMatchingWords, subSettingMatches.keyMatchingWords]);
118-
result.push(...descriptionRanges, ...keyRanges, ...subSettingKeyRanges, ...subSettinValueRanges);
117+
const subSettingValueRanges: IRange[] = this.getRangesForWords(words, subSettingMatches.valueMatchingWords, [this.descriptionMatchingWords, this.keyMatchingWords, subSettingMatches.keyMatchingWords]);
118+
result.push(...descriptionRanges, ...keyRanges, ...subSettingKeyRanges, ...subSettingValueRanges);
119119
result.push(...subSettingMatches.matches);
120120
}
121121
}

0 commit comments

Comments
 (0)