doceditor lazde: converted code to frames, from Vladislav V. Sudarikov, patch 24775

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@42190 4005530d-fff6-0310-9dd1-cebe43e6787f
doceditor lazde: clean up

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