SynEdit: fix memleak in test

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@42714 4005530d-fff6-0310-9dd1-cebe43e6787f
SynEdit: fix dictionary for user highlight

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@42715 4005530d-fff6-0310-9dd1-cebe43e6787f