NextMatch/PreviousMatch did not work due to us not updating the match index in the buffer search (that relied on an event being emitted).
NextMatch/PreviousMatch did not work due to us not updating the match index in the buffer search (that relied on an event being emitted).