Stefan Schimanski wrote:
So here is a working patch for 1.5svn. I also attached an example file.
Try it out with the patch and without. It is a lot faster. Scrolling
around in the macro without the patch is nearly impossible.
You'll have to disable "instant preview" to really see the difference.
Moreover I did some minor cleanup of the code, especially setting up the
coordinate cache. I am pretty sure that without this can lead to crashes
if your macros do not mention all the arguments.
And a last fix included makes sure that the metrics are always in sync
with the drawing. Before it was possible to go into the macro with the
cursor in a way that the metrics were for the viewing mode, but the
drawing was done for editing.
All is OK for me. Good work!
Thanks,
Abdel.