Rick Brewster

CodeLab v6.0 (for advanced users) Released June 25, 2020

Recommended Posts

CodeLab 2.21 Released

This is only for Paint.NET 4.0.6+!

 

Small update today...

 

Changes:

Fixed bug in the Build to DLL screen when using Rich Text help files. (toe_head2001)

▪ Modified updater code to defeat caching. (BoltBait)

 

Grab the CodeLab DLL here:

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

 

Thanks to ReMake for the bug report!

  • Upvote 1

Share this post


Link to post
Share on other sites

CodeLab 2.21 in Russian

 

You can find the new version of CodeLab in Russian here.

Вы можете найти новую версию CodeLab на русском языке здесь.

  • Upvote 2

Share this post


Link to post
Share on other sites

Greetings everyone, as mentioned previously, CodeLab's "intelligent assistance" now has support for user defined Types.

 

This will work with any kind of Type (class, struct, enum, ect.) you create within your CodeLab script.

 

Here's some screenshots with @MJW's NormalMap script loaded. The user defined Type is Float4; a struct.

Spoiler

Since it now recognizes Float4 as a Type, normal is now in turn recognized as a variable.

Object Highlight, and also IntelliTip:

objectHiLite.png

 

Static members:

staticMembers.png

 

Non-Static (instance) Members:

nonStaticMembers.png

 

Constructors:

constructor.png

 

Type autocomplete:

type.png

 

  • Like 2
  • Upvote 2

Share this post


Link to post
Share on other sites

CodeLab 2.22 Released

This is only for Paint.NET 4.0.6+!

 

Small update today...

 

Changes:

Added Dark Theme (see View menu). (toe_head2001)

▪ "Intelligent assistance" now has support for user defined Types. (toe_head2001)

▪ Made building source code easier (see Readme.rtf in source code for details). (BoltBait)

 

Grab the CodeLab DLL here:

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

 

  • Like 2
  • Upvote 2

Share this post


Link to post
Share on other sites

Dark theme is cool, but I - beam cursor is hard to see.
Should it be white or yellow maybe?
Thank you for your effort.

Share this post


Link to post
Share on other sites
15 hours ago, xod said:

Dark theme is cool, but I - beam cursor is hard to see.

 

I think you mean the text caret (the blinking line at the text insertion point).

I agree, it is difficult to see. I should have noticed that. :roll:

I'll change the color.

  • Upvote 1

Share this post


Link to post
Share on other sites

CodeLab 2.22 in Russian

 

You can find the new version of CodeLab in Russian here.

Вы можете найти новую версию CodeLab на русском языке здесь.

Share this post


Link to post
Share on other sites

 

On 7/26/2017 at 2:41 AM, xod said:

Dark theme is cool, but I - beam cursor is hard to see.

 

Fixed.  Dark theme cursor is now "off white."

 

CodeLab 2.23 Released

This is only for Paint.NET 4.0.6+!

 

Small update today...

 

Changes:

Fixed Dark Theme. (BoltBait)

▪ Added a few more templates into the File > New screen. (BoltBait)

 

Grab the CodeLab DLL here:

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

  • Upvote 2

Share this post


Link to post
Share on other sites

I've wanted a MRU menu in CodeLab for a long time, and last night, enough was enough. :lol:

 

CodeLab-mru.png

 

It can even find the associated icon (if it exists) and the effect name from within the file (if it exists).

  • Like 2
  • Upvote 3

Share this post


Link to post
Share on other sites

Sorry for asking, i'm currently using the portable version of Paint.NET, and of course the installer will not recognize any Paint.NET installation. Could you provide the DLL instead of the zipped EXE (installer) file?

Share this post


Link to post
Share on other sites
31 minutes ago, xod said:

I do not know if anyone else noticed this, but CodeLab 2.24 does not correctly pinpoint the errors.
Is that how it should behave?

Yes, I made a typo when making some changes. Sorry. The column is not getting set correctly, so the position of the red underline goes to the previous line.

I've already fixed this, and I will coordinate with BoltBait once I've finished with some other improvements I'm working on.

  • Like 2

Share this post


Link to post
Share on other sites
21 minutes ago, xod said:

CodeLab and PDN crash if we modify the version as in the image and try to build the dll.

Yeah, those two values need to be clamped; which I have just done. Easy peasy.

MajorVersion.Value = majorv.Clamp(MajorVersion.Minimum, MajorVersion.Maximum);

 

  • Upvote 1

Share this post


Link to post
Share on other sites

Hi,

 

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

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

RadioButtonControl Amount6 = 4; // [1] Shadow|None|Black|White|White+Black|Black+White

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

radiobtn.png

Share this post


Link to post
Share on other sites
On 12/2/2017 at 9:43 AM, 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.

Share this post


Link to post
Share on other sites

I found some time to hack away on CodeLab during the past few days, and I have a few new features brewing.

 

Behold, a new 'Find & Replace' floating panel.

Spoiler

Available find options are:

- Match Casing

- Match Whole Word

- Use Regex

- Interpret Escape Characters

 

find-wip.png

 

And expanded for Replacing:

find-replace-wip.png

 

  • Like 1
  • Upvote 1

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.