CodeSnippets - Remove edit & search CB duplicate code. Get back to a sane implementation.

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9778 2a5c6006-c6dd-42ca-98ab-0921f2732cef