mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
set currentMatch on find changes only (#11215)
This commit is contained in:
@@ -346,7 +346,7 @@ export class NotebookEditor extends BaseEditor implements IFindNotebookControlle
|
|||||||
this._findDecorations.getCount(),
|
this._findDecorations.getCount(),
|
||||||
this._currentMatch
|
this._currentMatch
|
||||||
);
|
);
|
||||||
if (this._finder.getDomNode().style.visibility === 'visible') {
|
if (this._finder.getDomNode().style.visibility === 'visible' && this._previousMatch !== this._currentMatch) {
|
||||||
this._setCurrentFindMatch(this._currentMatch);
|
this._setCurrentFindMatch(this._currentMatch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user