lazarus synedit lazarus / 8-Other ---------------------------------------------------------------------- pluggie · 2004-11-21 02:24 synedit in lazarus seems to go extremely over the top with repainting on i give some test code below to demonstrate this by drawing over the synedit so you cans ee th replainting differences in delphi and lazarus (yes i do play dirty to get at the synedits canvas here) there is noticeable slowness in the lazarus ide on some linux systems: linux running on vmware seems to do it in my experiance so does linux running on some hardware setups i belive this issue is the cause (though i haven't got round to playing with my test code on linux yet) i have found the slowdown on all three of the linux systems i have tried lazarus on theese were vmware using its own X server running a heavilly upgraded knoppix hdinstall (i think knoppix 3.1 based but im unsure) using the vmware X server vmware using remote X to cygwin-xfree86 on the host using the same os install as above a duron 800 running a heailly upgraded knoppix 3.1 (this one im sure about) hdinstall with ati 128 graphics which i belive were running using a framebuffer driver but im unsure on this the test code follows you are expected to put a synedit and a button on the form then double click on the button and paste this in place of its event handler type   tgetatcanvas=class(tsynedit)   public     property canvas;   end;   procedure TForm1.Button1Click(Sender: TObject); begin   tgetatcanvas(synedit1).canvas.rectangle(0,100,100,200); end; ---------------------------------------------------------------------- Lightning · 2004-11-21 14:06 You're not the only one that noticed SynEdit is slow. It seems the painting is done more than needed even on windows. I tested an app i made that uses synedit in Delphi and scrolling is much faster and consumes less CPU than the Lazarus editor. Please report a bug/wish. ---------------------------------------------------------------------- Marc · 2004-11-22 11:30 Synedit drawin is highly optimized. To be able to draw on non win32 platforms we had to mimic some win32 api calls. This isn't optimal yet and has no high priority to fix. This is a drawback when using a multiplatform solution. ---------------------------------------------------------------------- Lightning · 2004-11-22 20:03 Yes i guess it's not a priority, it works !!! Keep up the good work.