提交 d48fe675 编写于 作者: R Rob Lourens

Fix #68883 - keep internal whitespace in search result text

上级 b584049a
......@@ -182,6 +182,7 @@
.search-view .linematch > .match {
overflow: hidden;
text-overflow: ellipsis;
white-space: pre;
}
.search-view .linematch .matchLineNum {
......
......@@ -79,6 +79,7 @@ export class Match {
after = this._oneLinePreviewText.substring(this._rangeInPreviewText.endColumn - 1);
before = lcut(before, 26);
before = before.trimLeft();
let charsRemaining = Match.MAX_PREVIEW_CHARS - before.length;
inside = inside.substr(0, charsRemaining);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册