I open an untitled document, paste some text in, and then bring up the search/replace dialog
I notice that it always defaults to searching (and replacing) my entire home directory.

I really think 'Current Document' would be a much better default, for safety.

Also for performance reasons, if you run a regular expression search and then realise its searching your entire home directory, the search tends to beachball TM for a good while, and cant be cancelled easily