提交 f064b5dc 编写于 作者: S Sandeep Somavarapu

Fix screen cheese #23462

上级 3a11efd5
......@@ -637,10 +637,16 @@ export class DefaultSettingsEditorModel extends AbstractSettingsModel implements
section.titleRange = { startLineNumber: sectionTitleStart, startColumn: 1, endLineNumber: this._contentByLines.length, endColumn: this._contentByLines[this._contentByLines.length - 1].length };
}
for (const setting of section.settings) {
this.pushSetting(setting, indent);
lastSetting = setting;
if (section.settings.length) {
for (const setting of section.settings) {
this.pushSetting(setting, indent);
lastSetting = setting;
}
} else {
this._contentByLines.push('// No Settings');
this._contentByLines.push('');
}
}
group.range = { startLineNumber: groupStart, startColumn: 1, endLineNumber: this._contentByLines.length, endColumn: this._contentByLines[this._contentByLines.length - 1].length };
return lastSetting;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册