Martin,
need some help to speedup ATSynEdit rendering.
ATSynEdit does this for each visible line:
- calculate array of colored 'tokens', e.g. in "func A(b)" we have tokens "func", "A", "(", "b", ")".
- loop over this array: for each item:
a) set font.style (italic, etc)
b) call ExtTextOut (or direct WinAPI call TextOut in win32)
c) apply underlines/waves/borders
But it's slow on gtk2! maybe because too many changes of font.style?
Why SynEdit is faster?