提交 b4720870 编写于 作者: R rebornix

Fix #59316.

上级 e20fdf95
......@@ -196,17 +196,23 @@ export class CommonFindController extends Disposable implements editorCommon.IEd
public toggleCaseSensitive(): void {
this._state.change({ matchCase: !this._state.matchCase }, false);
this.highlightFindOptions();
if (!this._state.isRevealed) {
this.highlightFindOptions();
}
}
public toggleWholeWords(): void {
this._state.change({ wholeWord: !this._state.wholeWord }, false);
this.highlightFindOptions();
if (!this._state.isRevealed) {
this.highlightFindOptions();
}
}
public toggleRegex(): void {
this._state.change({ isRegex: !this._state.isRegex }, false);
this.highlightFindOptions();
if (!this._state.isRevealed) {
this.highlightFindOptions();
}
}
public toggleSearchScope(): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册