I must find a way how to paint it. There is problem of some fonts - they didn't
show correct width. PSpad paints standard content char by char. When I paint
other occurences, I paint it as whole string and it causes difference. 

The easiest way is to paint it same way as editor component. It will solve
problem with all fonts.

PSPad freeware editor https://www.pspad.com

Odpovedet emailem