提交 9b66dc4a 编写于 作者: I isidor

debug console: to string of simple values should duplicate value for each count

#104162
上级 baf15f10
......@@ -30,8 +30,12 @@ export class SimpleReplElement implements IReplElement {
) { }
toString(): string {
let valueRespectCount = this.value;
if (this._count > 1) {
valueRespectCount = valueRespectCount + ('\n' + this.value).repeat(this._count - 1);
}
const sourceStr = this.sourceData ? ` ${this.sourceData.source.name}` : '';
return this.value + sourceStr;
return valueRespectCount + sourceStr;
}
getId(): string {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册