Skip to content

Commit

Permalink
apply new language to all 3wm models (#153278)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken authored Jun 27, 2022
1 parent ffe53e8 commit a60ffd7
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,11 @@ export class MergeEditorModel extends EditorModel {
}

public setLanguageId(languageId: string): void {
this.modelService.setMode(this.result, this.languageService.createById(languageId));
const language = this.languageService.createById(languageId);
this.modelService.setMode(this.base, language);
this.modelService.setMode(this.input1, language);
this.modelService.setMode(this.input2, language);
this.modelService.setMode(this.result, language);
}
}

Expand Down

0 comments on commit a60ffd7

Please sign in to comment.