Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
40c43750
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
40c43750
编写于
10月 23, 2016
作者:
A
Alex Dima
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove unnecessary notifications
上级
007a0396
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
47 addition
and
96 deletion
+47
-96
src/vs/editor/browser/view/viewLayer.ts
src/vs/editor/browser/view/viewLayer.ts
+0
-22
src/vs/editor/browser/view/viewOverlays.ts
src/vs/editor/browser/view/viewOverlays.ts
+0
-9
src/vs/editor/browser/viewParts/lines/viewLine.ts
src/vs/editor/browser/viewParts/lines/viewLine.ts
+0
-9
src/vs/editor/test/browser/view/viewLayer.test.ts
src/vs/editor/test/browser/view/viewLayer.test.ts
+47
-56
未找到文件。
src/vs/editor/browser/view/viewLayer.ts
浏览文件 @
40c43750
...
...
@@ -16,9 +16,6 @@ export interface IVisibleLineData {
setDomNode
(
domNode
:
HTMLElement
):
void
;
onContentChanged
():
void
;
onLinesInsertedAbove
():
void
;
onLinesDeletedAbove
():
void
;
onLineChangedAbove
():
void
;
onTokensChanged
():
void
;
onConfigurationChanged
(
e
:
editorCommon
.
IConfigurationChangedEvent
):
void
;
...
...
@@ -43,9 +40,6 @@ interface IRendererContext<T extends IVisibleLineData> {
export
interface
ILine
{
onContentChanged
():
void
;
onLinesInsertedAbove
():
void
;
onLinesDeletedAbove
():
void
;
onLineChangedAbove
():
void
;
onTokensChanged
():
void
;
}
...
...
@@ -125,9 +119,6 @@ export class RenderedLinesCollection<T extends ILine> {
}
else
{
deleteCount
++
;
}
}
else
if
(
lineNumber
>
deleteToLineNumber
)
{
// this is a line after the deletion
this
.
_lines
[
lineIndex
].
onLinesDeletedAbove
();
}
}
...
...
@@ -167,10 +158,6 @@ export class RenderedLinesCollection<T extends ILine> {
if
(
lineNumber
===
changedLineNumber
)
{
this
.
_lines
[
lineIndex
].
onContentChanged
();
notifiedSomeone
=
true
;
}
else
if
(
lineNumber
>
changedLineNumber
)
{
// this is a line after the changed one
this
.
_lines
[
lineIndex
].
onLineChangedAbove
();
notifiedSomeone
=
true
;
}
}
...
...
@@ -187,15 +174,6 @@ export class RenderedLinesCollection<T extends ILine> {
let
startLineNumber
=
this
.
getStartLineNumber
();
let
endLineNumber
=
this
.
getEndLineNumber
();
// Notify lines that survive after insertion
for
(
let
lineNumber
=
startLineNumber
;
lineNumber
<=
endLineNumber
;
lineNumber
++
)
{
let
lineIndex
=
lineNumber
-
this
.
_rendLineNumberStart
;
if
(
insertFromLineNumber
<=
lineNumber
)
{
this
.
_lines
[
lineIndex
].
onLinesInsertedAbove
();
}
}
if
(
insertFromLineNumber
<=
startLineNumber
)
{
// inserting above the viewport
this
.
_rendLineNumberStart
+=
insertCnt
;
...
...
src/vs/editor/browser/view/viewOverlays.ts
浏览文件 @
40c43750
...
...
@@ -134,15 +134,6 @@ export class ViewOverlayLine implements IVisibleLineData {
onContentChanged
():
void
{
// Nothing
}
onLinesInsertedAbove
():
void
{
// Nothing
}
onLinesDeletedAbove
():
void
{
// Nothing
}
onLineChangedAbove
():
void
{
// Nothing
}
onTokensChanged
():
void
{
// Nothing
}
...
...
src/vs/editor/browser/viewParts/lines/viewLine.ts
浏览文件 @
40c43750
...
...
@@ -62,15 +62,6 @@ export class ViewLine implements IVisibleLineData {
public
onContentChanged
():
void
{
this
.
_isMaybeInvalid
=
true
;
}
public
onLinesInsertedAbove
():
void
{
// Nothing
}
public
onLinesDeletedAbove
():
void
{
// Nothing
}
public
onLineChangedAbove
():
void
{
// Nothing
}
public
onTokensChanged
():
void
{
this
.
_isMaybeInvalid
=
true
;
}
...
...
src/vs/editor/test/browser/view/viewLayer.test.ts
浏览文件 @
40c43750
...
...
@@ -16,15 +16,6 @@ class TestLine implements ILine {
onContentChanged
():
void
{
this
.
_pinged
=
true
;
}
onLinesInsertedAbove
():
void
{
this
.
_pinged
=
true
;
}
onLinesDeletedAbove
():
void
{
this
.
_pinged
=
true
;
}
onLineChangedAbove
():
void
{
this
.
_pinged
=
true
;
}
onTokensChanged
():
void
{
this
.
_pinged
=
true
;
}
...
...
@@ -72,7 +63,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
3
,
3
,
[],
{
startLineNumber
:
5
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -80,7 +71,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
3
,
4
,
[],
{
startLineNumber
:
4
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -88,7 +79,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
3
,
5
,
[],
{
startLineNumber
:
3
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -96,7 +87,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
3
,
6
,
[
'
old6
'
],
{
startLineNumber
:
3
,
lines
:
[
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
fals
e
]
});
});
...
...
@@ -104,7 +95,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
3
,
7
,
[
'
old6
'
,
'
old7
'
],
{
startLineNumber
:
3
,
lines
:
[
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
tru
e
]
pinged
:
[
false
,
fals
e
]
});
});
...
...
@@ -112,7 +103,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
3
,
8
,
[
'
old6
'
,
'
old7
'
,
'
old8
'
],
{
startLineNumber
:
3
,
lines
:
[
'
old9
'
],
pinged
:
[
tru
e
]
pinged
:
[
fals
e
]
});
});
...
...
@@ -137,7 +128,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
5
,
5
,
[],
{
startLineNumber
:
5
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -145,7 +136,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
5
,
6
,
[
'
old6
'
],
{
startLineNumber
:
5
,
lines
:
[
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
fals
e
]
});
});
...
...
@@ -153,7 +144,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
5
,
7
,
[
'
old6
'
,
'
old7
'
],
{
startLineNumber
:
5
,
lines
:
[
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
tru
e
]
pinged
:
[
false
,
fals
e
]
});
});
...
...
@@ -161,7 +152,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
5
,
8
,
[
'
old6
'
,
'
old7
'
,
'
old8
'
],
{
startLineNumber
:
5
,
lines
:
[
'
old9
'
],
pinged
:
[
tru
e
]
pinged
:
[
fals
e
]
});
});
...
...
@@ -186,7 +177,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
6
,
6
,
[
'
old6
'
],
{
startLineNumber
:
6
,
lines
:
[
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
fals
e
]
});
});
...
...
@@ -194,7 +185,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
6
,
7
,
[
'
old6
'
,
'
old7
'
],
{
startLineNumber
:
6
,
lines
:
[
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
tru
e
]
pinged
:
[
false
,
fals
e
]
});
});
...
...
@@ -202,7 +193,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
6
,
8
,
[
'
old6
'
,
'
old7
'
,
'
old8
'
],
{
startLineNumber
:
6
,
lines
:
[
'
old9
'
],
pinged
:
[
tru
e
]
pinged
:
[
fals
e
]
});
});
...
...
@@ -227,7 +218,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
7
,
7
,
[
'
old7
'
],
{
startLineNumber
:
6
,
lines
:
[
'
old6
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
false
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
fals
e
]
});
});
...
...
@@ -235,7 +226,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
7
,
8
,
[
'
old7
'
,
'
old8
'
],
{
startLineNumber
:
6
,
lines
:
[
'
old6
'
,
'
old9
'
],
pinged
:
[
false
,
tru
e
]
pinged
:
[
false
,
fals
e
]
});
});
...
...
@@ -260,7 +251,7 @@ suite('RenderedLinesCollection onModelLinesDeleted', () => {
testOnModelLinesDeleted
(
8
,
8
,
[
'
old8
'
],
{
startLineNumber
:
6
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old9
'
],
pinged
:
[
false
,
false
,
tru
e
]
pinged
:
[
false
,
false
,
fals
e
]
});
});
...
...
@@ -340,45 +331,45 @@ suite('RenderedLinesCollection onModelLineChanged', () => {
}
test
(
'
3
'
,
()
=>
{
testOnModelLineChanged
(
3
,
tru
e
,
{
testOnModelLineChanged
(
3
,
fals
e
,
{
startLineNumber
:
6
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
test
(
'
4
'
,
()
=>
{
testOnModelLineChanged
(
4
,
tru
e
,
{
testOnModelLineChanged
(
4
,
fals
e
,
{
startLineNumber
:
6
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
test
(
'
5
'
,
()
=>
{
testOnModelLineChanged
(
5
,
tru
e
,
{
testOnModelLineChanged
(
5
,
fals
e
,
{
startLineNumber
:
6
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
test
(
'
6
'
,
()
=>
{
testOnModelLineChanged
(
6
,
true
,
{
startLineNumber
:
6
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
true
,
false
,
false
,
fals
e
]
});
});
test
(
'
7
'
,
()
=>
{
testOnModelLineChanged
(
7
,
true
,
{
startLineNumber
:
6
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
false
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
true
,
false
,
fals
e
]
});
});
test
(
'
8
'
,
()
=>
{
testOnModelLineChanged
(
8
,
true
,
{
startLineNumber
:
6
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
false
,
false
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
true
,
fals
e
]
});
});
test
(
'
9
'
,
()
=>
{
...
...
@@ -428,7 +419,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
3
,
3
,
[],
{
startLineNumber
:
7
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -436,7 +427,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
3
,
4
,
[],
{
startLineNumber
:
8
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -444,7 +435,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
3
,
5
,
[],
{
startLineNumber
:
9
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -452,7 +443,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
3
,
6
,
[],
{
startLineNumber
:
10
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -460,7 +451,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
3
,
7
,
[],
{
startLineNumber
:
11
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -468,7 +459,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
3
,
8
,
[],
{
startLineNumber
:
12
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -476,7 +467,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
3
,
9
,
[],
{
startLineNumber
:
13
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -484,7 +475,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
3
,
10
,
[],
{
startLineNumber
:
14
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -493,7 +484,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
5
,
5
,
[],
{
startLineNumber
:
7
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -501,7 +492,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
5
,
6
,
[],
{
startLineNumber
:
8
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -509,7 +500,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
5
,
7
,
[],
{
startLineNumber
:
9
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -517,7 +508,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
5
,
8
,
[],
{
startLineNumber
:
10
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -525,7 +516,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
5
,
9
,
[],
{
startLineNumber
:
11
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -533,7 +524,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
5
,
10
,
[],
{
startLineNumber
:
12
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -542,7 +533,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
6
,
6
,
[],
{
startLineNumber
:
7
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -550,7 +541,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
6
,
7
,
[],
{
startLineNumber
:
8
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -558,7 +549,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
6
,
8
,
[],
{
startLineNumber
:
9
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -566,7 +557,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
6
,
9
,
[],
{
startLineNumber
:
10
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -574,7 +565,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
6
,
10
,
[],
{
startLineNumber
:
11
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
old8
'
,
'
old9
'
],
pinged
:
[
true
,
true
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -583,7 +574,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
7
,
7
,
[
'
old9
'
],
{
startLineNumber
:
6
,
lines
:
[
'
old6
'
,
'
new
'
,
'
old7
'
,
'
old8
'
],
pinged
:
[
false
,
false
,
true
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -591,7 +582,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
7
,
8
,
[
'
old8
'
,
'
old9
'
],
{
startLineNumber
:
6
,
lines
:
[
'
old6
'
,
'
new
'
,
'
new
'
,
'
old7
'
],
pinged
:
[
false
,
false
,
false
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
@@ -616,7 +607,7 @@ suite('RenderedLinesCollection onModelLinesInserted', () => {
testOnModelLinesInserted
(
8
,
8
,
[
'
old9
'
],
{
startLineNumber
:
6
,
lines
:
[
'
old6
'
,
'
old7
'
,
'
new
'
,
'
old8
'
],
pinged
:
[
false
,
false
,
false
,
tru
e
]
pinged
:
[
false
,
false
,
false
,
fals
e
]
});
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录