Fundamentals for a search/replace widget

Needs to be connected to the editor windows