src/vs/workbench/contrib/search/browser/searchActions.ts/AbstractSearchAndReplaceAction/getElementToFocusAfterRemoved
class AbstractSearchAndReplaceAction:	getElementToFocusAfterRemoved(viewer: WorkbenchObjectTree<RenderableMatch>, elementToBeRemoved: RenderableMatch): RenderableMatch {
		const elementToFocus = this.getNextElementAfterRemoved(viewer, elementToBeRemoved);
		return elementToFocus || this.getPreviousElementAfterRemoved(viewer, elementToBeRemoved);
	}