Search & replace functionalities for the editor