public void stopSearching()
    {
        stopSearching = true;
        if (finder != null) {
            finder.stopSearching();
        }
    }
Stop findAndSelect() or replaceAll() calls. Long running searches can be stopped from another
thread.
plugins/org.jkiss.dbeaver.ui.editors.hex/src/org/jkiss/dbeaver/ui/editors/binary/HexEditControl.java