The current behavior doesn't output any message whether a sequence was found or not, so the only way to check is by noticing that the selection is empty.
I think a better method would be to not create an empty selection, as well as printing messages for both cases.
The current behavior doesn't output any message whether a sequence was found or not, so the only way to check is by noticing that the selection is empty.
I think a better method would be to not create an empty selection, as well as printing messages for both cases.