Added support for editing the code snippets from the Search dialog