Sign in to follow this  
toe_head2001

Ruler v1.0 (March 12, 2016)

Recommended Posts

A very useful plugin for me.

Thanks toe_head2001.

 

I tried to play a little with this code in CodeLab 2.11.

But CodeLab working extremely hard even in Windows 10.

It freezes for a little time then recovers and so on.

I wonder if anyone has the same problem because I tried it on multiple systems with the same results.

Share this post


Link to post
Share on other sites

I tried to play a little with this code in CodeLab 2.11.

But CodeLab working extremely hard even in Windows 10.

It freezes for a little time then recovers and so on.

I wonder if anyone has the same problem because I tried it on multiple systems with the same results.

Yes, this is definitely an issue with CodeLab. For some reason CodeLab doesn't like something in the Switch statement for 'unit'; if you delete the code for that Switch, the issue goes away. I think the slow down may be caused by one of the listener events on the Scintilla control. I will try to isolate the issue, and relay my findings to BoltBait.

Share this post


Link to post
Share on other sites

Thank you, toe_head, and also thanks for the source code! Attached is a small contribution for owners of the vintage PdN.

(My compilation contains a tiny spelling correction, since millimeters takes two ls :))

You are free to distribute your own copy (in accordance with the GPLv3), but the official one I had posted is already compatible with paint.net 3.5.11. This was a special case; I usually don't do this.

Though I had overlooked that typo.

Share this post


Link to post
Share on other sites

Apologies, I thought it wasn't compatible with 3.5.11 and so I compiled the source code. I've edited my previous post to remove that compilation.

Share this post


Link to post
Share on other sites

I tried to play a little with this code in CodeLab 2.11.

But CodeLab working extremely hard even in Windows 10.

It freezes for a little time then recovers and so on.

 

I was able to find the root of the CodeLab issue. Contrary to my original assumptions, the issue was not caused by my contributed code in v2.11 :P, as the issue is in older versions too.

 

The good news is that I sent a patch to BoltBait, so it should be resolved when he releases the next version.

Share this post


Link to post
Share on other sites

Thanks. That was a tough one to find. I'll post a new version of CodeLab tomorrow.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this