ATSynEdit has such debug define
//{$define debug_show_fps}
I enabled it to see why editor shows 20-30ms (Form1.OnShow with editor).

a) editor shows 5 (repaint counter) on show. i put breakpoint in TATSynEdit.DoPaintEx and saw that unneeded paints were from DoOnResize() before calling Paint(). ok, i added flag FPaintStarted and filtered them. b) editor still shows 3 (repaint counter) on show. breakpoint shows that Paint is called 3 times by LCL. I cannot filter these calls at all. Can you reduce these calls?

--
Regards,
Alexey

--
_______________________________________________
lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to