SynEdit: Current word markup: reduce search overhead

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@39857 4005530d-fff6-0310-9dd1-cebe43e6787f
SynEdit: Current word markup: partly undo last commit

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