提交 1903620c 编写于 作者: A Alex Dima

Fix duplicated -1 in FastRenderedViewLine

上级 14ba76f6
......@@ -294,8 +294,8 @@ class FastRenderedViewLine implements IRenderedViewLine {
endColumn = stopRenderingLineAfter;
}
const startPosition = this._getCharPosition(startColumn - 1);
const endPosition = this._getCharPosition(endColumn - 1);
const startPosition = this._getCharPosition(startColumn);
const endPosition = this._getCharPosition(endColumn);
return [new HorizontalRange(startPosition, endPosition - startPosition)];
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册