When searching for a text string in a file, use recent history: with the search pane already open, press &shortcut:Find; once again to show the list of recent entries.