speed-up patch structure when changing newcommands

git-svn-id: http://svn.code.sf.net/p/texstudio/code/trunk@4163 92cce386-e96d-4106-809f-596c673a3fd8