提交 61c634d8 编写于 作者: P Peng Lyu

npe

上级 15d782f4
......@@ -439,7 +439,7 @@ export class ReviewZoneWidget extends ZoneWidget {
this.createCommentWidgetActions2(this._formActions, model);
}));
this._localToDispose.push((this._commentThread as modes.CommentThread2).onDidChangeRange(range => {
this._disposables.push((this._commentThread as modes.CommentThread2).onDidChangeRange(range => {
// Move comment glyph widget and show position if the line has changed.
const lineNumber = this._commentThread.range.startLineNumber;
if (this._commentGlyph.getPosition().position.lineNumber !== lineNumber) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册