Skip to content
代码片段 群组 项目
提交 09377528 编辑于 作者: Phil Hughes's avatar Phil Hughes
浏览文件

Merge branch '415664-line-highlighter-fix' into 'master'

No related branches found
No related tags found
无相关合并请求
......@@ -153,7 +153,7 @@ LineHighlighter.prototype.highlightRange = function (range) {
const results = [];
const ref = range[0] <= range[1] ? range : range.reverse();
for (let lineNumber = ref[0]; lineNumber <= ref[1]; lineNumber += 1) {
for (let lineNumber = range[0]; lineNumber <= ref[1]; lineNumber += 1) {
results.push(this.highlightLine(lineNumber));
}
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册