提交 2e4b2162 编写于 作者: R rebornix

Fix #38819. When we run commands from command palette, the focus is always on the editor.

上级 f4e39a57
......@@ -468,7 +468,7 @@ export class MultiCursorSelectionController extends Disposable implements IEdito
// - and the search widget is visible
// - and the search string is non-empty
// - and we're searching for a regex
if (!this._editor.isFocused() && findState.isRevealed && findState.searchString.length > 0 && findState.isRegex) {
if (findState.isRevealed && findState.searchString.length > 0 && findState.isRegex) {
matches = this._editor.getModel().findMatches(findState.searchString, true, findState.isRegex, findState.matchCase, findState.wholeWord ? this._editor.getConfiguration().wordSeparators : null, false, Constants.MAX_SAFE_SMALL_INTEGER);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册