I am not sure whether this is a bug or a feature but I have noticed that Sublime Text can “steal” search criteria from Mail application (macOS).
This might be confusing in case one searches in files for something and jumps to Mail to look for something else. In that case, Mail search criteria overwrite “Find in Files” that was specified inside Sublime Text.
Is it intended behaviour?