This patch makes it so that if the find/replace widget is opened while some text is selected, the find textbox's content is overrided with the selected text.