提交 18902550 编写于 作者: R rebornix

fix #70306.

上级 05049f7f
...@@ -225,7 +225,7 @@ export class FindWidget extends Widget implements IOverlayWidget, IVerticalSashL ...@@ -225,7 +225,7 @@ export class FindWidget extends Widget implements IOverlayWidget, IVerticalSashL
if (this._isVisible) { if (this._isVisible) {
let globalBufferTerm = await this._controller.getGlobalBufferTerm(); let globalBufferTerm = await this._controller.getGlobalBufferTerm();
if (globalBufferTerm && globalBufferTerm !== this._state.searchString) { if (globalBufferTerm && globalBufferTerm !== this._state.searchString) {
this._state.change({ searchString: globalBufferTerm }, true); this._state.change({ searchString: globalBufferTerm }, false);
this._findInput.select(); this._findInput.select();
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册