mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
update inputbox
This commit is contained in:
@@ -223,7 +223,7 @@ export class MainThreadCommentController {
|
||||
}
|
||||
|
||||
private _threads: Map<number, MainThreadCommentThread> = new Map<number, MainThreadCommentThread>();
|
||||
private _activeCommentThread?: MainThreadCommentThread;
|
||||
public activeCommentThread?: MainThreadCommentThread;
|
||||
private _commentingRanges: Map<number, MainThreadCommentingRanges> = new Map<number, MainThreadCommentingRanges>();
|
||||
constructor(
|
||||
private _proxy: ExtHostCommentsShape,
|
||||
@@ -324,7 +324,7 @@ export class MainThreadCommentController {
|
||||
}
|
||||
|
||||
updateInput(input: string) {
|
||||
let thread = this._activeCommentThread;
|
||||
let thread = this.activeCommentThread;
|
||||
|
||||
if (thread && thread.input) {
|
||||
let commentInput = thread.input;
|
||||
@@ -399,6 +399,7 @@ export class MainThreadComments extends Disposable implements MainThreadComments
|
||||
|
||||
this._activeCommentThreadDisposables = dispose(this._activeCommentThreadDisposables);
|
||||
this._activeCommentThread = thread as MainThreadCommentThread;
|
||||
controller.activeCommentThread = this._activeCommentThread;
|
||||
|
||||
this._activeCommentThreadDisposables.push(this._activeCommentThread.onDidChangeInput(input => { // todo, dispose
|
||||
this._input = input;
|
||||
|
||||
Reference in New Issue
Block a user