Jump to content
How to Install Plugins ×

CodeLab v6.12 for Paint.NET 5.0.12 (Updated February 11, 2024)


Rick Brewster

Recommended Posts

5 hours ago, georch said:

Your server is down, it gives me a HTTP 500 answer from IIS. Can you fix that, or, for that matter, mirror CodeLab elsewhere?

 

The direct link to the zip file should still work:

 

http://boltbait.com/pdn/CodeLab/CodeLabInstaller400.zip

 

Sorry about my web site issues.  My hosting company is a piece of ... um ... garbage!  I'm in the process of shopping around for a new company that actually knows what they're doing.

 

Link to comment
Share on other sites

On 12/27/2017 at 4:05 AM, toe_head2001 said:
On 12/2/2017 at 4:43 PM, MadJik said:

I'm having trouble with radiobuttons (same for dropdownlist).

In CodeLab I can change the value in the UI part of the code

Once built the Radiobutton is set to 0 ('None')

 

Howdy, I've fixed this for the next release.

However, anytime you use the UI Designer, it will revert the number back to 0 in your script. You'll need to make sure it's correct before building a DLL.

 

I've fully fixed this: Using the UI Designer will no longer revert the value back to 0.

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

7 hours ago, MadJik said:

Where could I download the updated version? CodeLab from BoltBait site still reverts the value to 0.

 

@toe_head2001 and I work together on CodeLab.  So, when he says he fixed something it means it will show up in the next official release of CodeLab.

 

When will the next official release happen?  I'm not sure.  Generally, we both work on stuff until we feel that we have a "release full" of stuff done.  Currently, there's only a "handfull" of stuff done.  But, I'm sure it won't be too long.

Link to comment
Share on other sites

  • 4 weeks later...

Thinking of getting this so I can edit dpy's speech bubble plugin for my own personal use. Problem is...I have no idea how to code. Does this work as a text editor using nodepad/notepad++ ?

Link to comment
Share on other sites

6 minutes ago, Sonario648 said:

Does this work as a text editor using nodepad/notepad++ ?

 

Yes, CodeLab is essentially a text editor.

Both CodeLab and Notepad++ use the Scintilla component for the actual text editing.

 

7 minutes ago, Sonario648 said:

Problem is...I have no idea how to code.

 

You'll need to know how to code, if you want to make meaningful changes to the Speech Bubble effect.

It's not to late to learn though. :)

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

Just now, toe_head2001 said:

 

Yes, CodeLab is essentially a text editor.

Both CodeLab and Notepad++ use the Scintilla component for the actual text editing.

 

 

You'll need to know how to code, if you want to make meaningful changes to the Speech Bubble effect.

It's not to late to learn though. :)

Even if I simply want to add a few more directions for the....tail that's used to show who is talking and where the speech is coming from?

Edited by Sonario648
Just found out finally that the thingamabob line thingy is called a tail.
Link to comment
Share on other sites

Yup. You'll need to know C#.

 

As far as I recall, the author of Speech Bubble ( @dpy ) hasn't released the source of his plugins.

Link to comment
Share on other sites

CodeLab 4.1 Released

This is only for Paint.NET 4.1.2+!

 

Small update today...

 

Changes:

▪ Added a 'Find Next' button to the Find panel. (toe_head2001)
▪ Ensure the .rtz file is part of the generated Solution. (toe_head2001)
▪ Retain default values when using UI Designer. (toe_head2001)
▪ Changed "while" snippet. (toe_head2001)
▪ Fixed generated OnDispose code. (BoltBait)
▪ Fixed a bug in Install.BAT files for the Store versions of PdN. (BoltBait)
▪ Lots of code cleanup, minor fixes, and HiDPI fixes. (toe_head2001 and BoltBait)

 

Grab the CodeLab DLL here:

 

http://www.boltbait.com/pdn/CodeLab/

 

 

OnDispose code fix:

 

In previous builds of CodeLab, if you used the File>New templates to generate a CodeLab script and you used an effect or a working surface, CodeLab would generate an OnDispose method like this:

 

protected override void OnDispose(bool disposing)
{
    // Release any surfaces or effects you've created.
    if (wrk != null) wrk.Dispose();
    wrk = null;
    if (blurEffect != null) blurEffect.Dispose();
    blurEffect = null;

    base.OnDispose(disposing);
}

This is no good because it will dispose your effects and work surface without looking at the "disposing" flag variable.

 

This release of CodeLab corrects the generated code to the following:

 

protected override void OnDispose(bool disposing)
{
    if (disposing)
    {
        // Release any surfaces or effects you've created.
        if (wrk != null) wrk.Dispose();
        wrk = null;
        if (blurEffect != null) blurEffect.Dispose();
        blurEffect = null;
    }

    base.OnDispose(disposing);
}

Notice that it is now checking the "disposing" variable before actually disposing the work surface and effect.

 

You may need to revisit any effects you've written in the past to be sure the OnDispose code is written properly.

 

  • Like 1
  • Upvote 3
Link to comment
Share on other sites

  • BoltBait changed the title to CodeLab v4.1 (for advanced users) Released October 22, 2018

Also in CodeLab v4.1

You can now set the Min/Max range for the AngleChooser control.

angleRange.png

 

Previously, you'd have to export the project to Visual Studio if you wanted to do this.

  • Like 1
  • Upvote 3

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

First of all, thank you very much for your work.

 

Secondly, about AngleChooser, sometimes it's useful to set a zero-trigonometric value to +90 degrees. This could be added as an option in the Style drop-down list.
Default: trigonometric zeros
Custom: zeros to +90 degree

 

I don't know how much work this option requires and that's why I don't want to insist. Anyway, I can live without it. ?

Edited by xod
Link to comment
Share on other sites

2 minutes ago, xod said:

Secondly, sometimes it's useful to set a zero-trigonometric value to +90 degrees.

 

My trigonometry is a bit "rusty"; what's a zero-trigonometric value?

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

  • 2 weeks later...

Apologies if I missed a link somewhere. Is there a zip for CodeLab 4.1 that is not an installer?

Alternatively is there a why to have the CodeLabInstaller exe work with the Windows Store version of Paint.net?

Link to comment
Share on other sites

  • 3 weeks later...

I've created some work-in-progress documentation for CodeLab.  This covers the actual features of CodeLab; nothing code related.

It is written in markdown files, and then MkDocs is used to build those files into a website.

 

https://toehead2001.github.io/codelab-docs/

 

Each page has an edit icon in the top right corner. Feel free to fill in any missing content.

A GitHub account to required to submit changes though.

 

  • Upvote 1

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

I don't know if this is intentional behavior or a bug.

 

b23bteT.png

 

Also, for Display setting to 125% if the UI becomes too high and the scroll bar appears, the control is not properly resized and the color rectangle is not entirely visible.

 

KiXBtYm.png

Edited by xod
Link to comment
Share on other sites

6 hours ago, xod said:

 

I don't know if this is intentional behavior or a bug.

 

 

What at do you expect to happen?

 

Currently, the selection is displayed in the control so the + is constrained to the selection. 

 

BTW, 125% is an evil abomination that shouldn’t exist. Only 100 or 200 should be chosen. 

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

I have a problem when opening CodeLab ( I am a beginer):

I get the error message: Full error message: System.ArgumentException: Font 'Verdana' does not support style 'Regular'........

I have run the Consolas and Hack font installers and had a go at running the registry thing with Envy Code R

Any thoughts?

Many thanks.

 

Edited by Chas
spelling
Link to comment
Share on other sites

36 minutes ago, Chas said:

I get the error message: Full error message: System.ArgumentException: Font 'Verdana' does not support style 'Regular'

 

Install the Verdana font?

 

https://www.google.com/search?q=verdana+font+download

 

Verdana is one of the fonts that comes with Windows.  Are you running Windows in a language other than English?

 

Link to comment
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.

×
×
  • Create New...