Jump to content
How to Install Plugins ×

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


Rick Brewster

Recommended Posts

Happened again. Still in the editor, not using shift-arrowkeys this time.

 

The first symptom was a warning int he "Compile Errors" pane about a a NullReferenceException in System.Drawing.Rect but before I could copy it down, the whole app crashed out.


 

Spoiler

 

This text file was created because paint.net crashed. Please e-mail this to crashlog4@getpaint.net so we can diagnose and fix the problem.

 

Application version: paint.net 4.0.13 (Final 4.13.6191.1824)

Time of crash: 1/19/2017 9:11:55 AM

Application uptime: 00:20:31.2885034

Application state: Running

Working set: 150,256 KiB

Handles and threads: 1104 handles, 40 threads, 263 gdi, 173 user

Install directory: C:\Program Files\Paint.NET

Current directory: C:\Program Files\Paint.NET

OS Version: 10.0.14393.0 Workstation x64

.NET version: CLR 4.0.30319.42000 x64, FX 4.6

Processor: "Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz" @ ~2794MHz (2C/4T, DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, XSAVE)

Physical memory: 8139 MB

Video card: Intel(R) HD Graphics 3000 (v:8086, d:126, r:9), NVIDIA GeForce GT 520M (v:10DE, d:1050, r:161), Microsoft Basic Render Driver (v:1414, d:8C, r:0)

Hardware acceleration: False (default: False)

UI animations: True

UI DPI: 96.00 dpi (1.00x scale)

UI theme: Aero/Aero + DWM (Aero.msstyles)

Updates: True, 1/18/2017

Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: en-US, cuic: en-US

Flags:

 

Exception details:

System.NullReferenceException: Object reference not set to an instance of an object.

   at PaintDotNet.Effects.CodeLabConfigDialog.txtCode_DwellStart(Object sender, DwellEventArgs e)

   at ScintillaNET.Scintilla.OnDwellStart(DwellEventArgs e)

   at ScintillaNET.Scintilla.WmReflectNotify(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

Managed assemblies:

    mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll

    PaintDotNet, Version=4.13.6191.1824, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.exe

    PaintDotNet.Base, Version=4.13.6191.1824, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Base.dll

    WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll

    System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll

    System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll

    System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll

    PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll

    PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\WINDOWS\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll

    System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll

    PaintDotNet.Core, Version=4.13.6191.1824, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Core.dll

    PaintDotNet.SystemLayer, Version=4.13.6191.1824, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll

    PaintDotNet.Framework, Version=4.13.6191.1824, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Framework.dll

    PaintDotNet.Resources, Version=4.13.6191.1824, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll

    PaintDotNet.Data, Version=4.13.6191.1824, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll

    PaintDotNet.Effects, Version=4.13.6191.1824, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.dll

    PaintDotNet.SystemLayer.Native.x64, Version=4.13.6191.1824, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.dll

    System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll

    System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll

    System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll

    CodeLab, Version=2.18.6132.18680, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\CodeLab.dll

    Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll

    todkmnzd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null @

    todkmnzd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null @

    todkmnzd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null @

    todkmnzd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null @

    todkmnzd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null @

    todkmnzd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null @

    todkmnzd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null @

    todkmnzd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null @

    todkmnzd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null @

    todkmnzd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null @

    todkmnzd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null @

 

Native modules:

    C:\Program Files\Paint.NET\PaintDotNet.exe, version=4.13.6191.1824

    C:\WINDOWS\SYSTEM32\ntdll.dll, version=10.0.14393.206 (rs1_release.160915-0644)

    C:\WINDOWS\SYSTEM32\MSCOREE.DLL, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\KERNEL32.dll, version=10.0.14393.206 (rs1_release.160915-0644)

    C:\WINDOWS\System32\KERNELBASE.dll, version=10.0.14393.206 (rs1_release.160915-0644)

    C:\WINDOWS\System32\ADVAPI32.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\msvcrt.dll, version=7.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\sechost.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\RPCRT4.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\System32\SHLWAPI.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\combase.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\ucrtbase.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\bcryptPrimitives.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\GDI32.dll, version=10.0.14393.206 (rs1_release.160915-0644)

    C:\WINDOWS\System32\gdi32full.dll, version=10.0.14393.576 (rs1_release_inmarket.161208-2252)

    C:\WINDOWS\System32\USER32.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\win32u.dll, version=10.0.14393.51 (rs1_release_inmarket.160801-1836)

    C:\WINDOWS\System32\IMM32.DLL, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\kernel.appcore.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\VERSION.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\SYSTEM32\MSVCR120_CLR0400.dll, version=12.00.52512.0 built by: VSWINSERVICING

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\mscorlib\e96b4590c579d08edc2e60cc3e5ae997\mscorlib.ni.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\System32\ole32.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\uxtheme.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System\ee1c3ea3e0049df6d53b35e21c2247e4\System.ni.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Core\46ebe2b057622677cfc3fd04f47081c0\System.Core.ni.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\WindowsBase\61103ac73bccca74b102807a0baf3495\WindowsBase.ni.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\SYSTEM32\CRYPTSP.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\rsaenh.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\bcrypt.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\CRYPTBASE.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Drawing\3ac58fb7cb8d849d0f85f2435e1a0066\System.Drawing.ni.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PresentationCore\bc3f07633c1829b68228796f72a64663\PresentationCore.ni.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\Presentatio5ae0f00f#\a3317d3137e1e1302c5f8f34ffce1622\PresentationFramework.ni.dll, version=4.6.1586.0

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Base\766217d9c2055b63123a308f04beeef2\PaintDotNet.Base.ni.dll, version=4.13.6191.1824

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Windows.Forms\04e26b57f0c211fdb0d877810b37497f\System.Windows.Forms.ni.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet500b2e4f#\473c50fcdb1e163e7c1ede436a22112f\PaintDotNet.SystemLayer.ni.dll, version=4.13.6191.1824

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Core\b5a19eaab0e5eda27a5fd0f7a52b29a9\PaintDotNet.Core.ni.dll, version=4.13.6191.1824

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet26779e70#\ee39697f2dbfef8186dbfea06b590bdc\PaintDotNet.Resources.ni.dll, version=4.13.6191.1824

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet7afaaa15#\d3b9574e9d3e9e8fac15ad18b472ef0f\PaintDotNet.Framework.ni.dll, version=4.13.6191.1824

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Data\fa1fcdecbcf446fab5b6de35cfca4f63\PaintDotNet.Data.ni.dll, version=4.13.6191.1824

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Effects\e49c30b83c521b530313398bb3420857\PaintDotNet.Effects.ni.dll, version=4.13.6191.1824

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet\fadb07be2917a5963cc6523c5fcca8f6\PaintDotNet.ni.exe, version=4.13.6191.1824

    C:\WINDOWS\SYSTEM32\dwrite.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpfgfx_v0400.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\System32\OLEAUT32.dll, version=10.0.14393.447 (rs1_release_inmarket.161102-0100)

    C:\WINDOWS\System32\msvcp_win.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationNative_v0400.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\System32\shell32.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\cfgmgr32.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\windows.storage.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\powrprof.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\shcore.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\profapi.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Program Files\Paint.NET\SxS\X64\vcruntime140.dll, version=14.00.23026.0 built by: WCSETUP

    C:\Program Files\Paint.NET\SxS\X64\msvcp140.dll, version=14.00.23026.0 built by: WCSETUP

    C:\Program Files\Paint.NET\SxS\X64\vcomp140.dll, version=14.00.23026.0 built by: WCSETUP

    C:\WINDOWS\System32\MSCTF.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNetc8826574#\6e97a3aa2396914959294a12f7e3989b\PaintDotNet.SystemLayer.Native.x64.ni.dll, version=4.13.6191.1824

    C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.dll, version=4.13.6191.1824

    C:\WINDOWS\SYSTEM32\PROPSYS.dll, version=7.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.14393.321_none_72fe05dd211a5fae\gdiplus.dll, version=10.0.14393.321 (rs1_release_inmarket.161004-2338)

    C:\WINDOWS\SYSTEM32\dxgi.dll, version=10.0.14393.479 (rs1_release.161110-2025)

    C:\WINDOWS\System32\clbcatq.dll, version=2001.12.10941.16384 (rs1_release.160715-1616)

    C:\WINDOWS\System32\UIAnimation.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\dwmapi.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.14393.447_none_42191651c6827bb3\comctl32.dll, version=6.10 (rs1_release_inmarket.161102-0100)

    C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.14393.447_none_0d5aa7fbb6d35646\comctl32.dll, version=6.10 (rs1_release_inmarket.161102-0100)

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Configuration\a7f47973b917fdac945dd35f56b99eaf\System.Configuration.ni.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Xml\42142f2f161821b78f345ecf759fa095\System.Xml.ni.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\SYSTEM32\WindowsCodecs.dll, version=10.0.14393.576 (rs1_release_inmarket.161208-2252)

    C:\WINDOWS\SYSTEM32\wtsapi32.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\WINSTA.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\d2d1.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\CRYPT32.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\MSASN1.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\d3d11.dll, version=10.0.14393.479 (rs1_release.161110-2025)

    C:\WINDOWS\SYSTEM32\D3D10Warp.dll, version=10.0.14393.576 (rs1_release_inmarket.161208-2252)

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Xaml\db1726d3f4aef60e7fc01ed9879d9870\System.Xaml.ni.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\SYSTEM32\winmm.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\WINMMBASE.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\dataexchange.dll, version=10.0.14393.206 (rs1_release.160915-0644)

    C:\WINDOWS\system32\dcomp.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\twinapi.appcore.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Users\Jonathan Rynd\AppData\Local\Temp\ScintillaNET\2.18.6132\x64\SciLexer.dll, version=3.6.6

    C:\WINDOWS\SYSTEM32\Msimg32.DLL, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\Accessibility\e828edb324154277d8b2eaa9640a520d\Accessibility.ni.dll, version=4.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\SYSTEM32\rasapi32.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\rasman.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\rtutils.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\ws2_32.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\mswsock.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\winhttp.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\ondemandconnroutehelper.dll, version=10.0.14393.351 (rs1_release_inmarket.161014-1755)

    C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\NSI.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\DNSAPI.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\WINNSI.DLL, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\rasadhlp.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\fwpuclnt.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\comdlg32.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\explorerframe.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\DUI70.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\DUser.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\thumbcache.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\xmllite.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\edputil.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\StructuredQuery.dll, version=7.0.14393.206 (rs1_release.160915-0644)

    C:\WINDOWS\SYSTEM32\atlthunk.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\Windows.Storage.Search.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\SspiCli.dll, version=10.0.14393.576 (rs1_release_inmarket.161208-2252)

    C:\Windows\System32\oleacc.dll, version=7.2.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\LINKINFO.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\ActXPrxy.dll, version=10.0.14393.479 (rs1_release.161110-2025)

    C:\WINDOWS\System32\coml2.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\IDStore.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\MPR.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\SAMLIB.dll, version=10.0.14393.82 (rs1_release.160805-1735)

    C:\WINDOWS\System32\wlidprov.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\ntlanman.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\drprov.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\davclnt.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\DAVHLPR.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\wkscli.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\cscapi.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\netutils.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\apphelp.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\dlnashext.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\twinapi.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\provsvc.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\NetworkExplorer.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\NetworkItemFactory.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\DevDispItemProvider.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Program Files (x86)\Google\Drive\googledrivesync64.dll, version=1.32.4066.7445

    C:\WINDOWS\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_none_08e394a1a83e212f\MSVCP90.dll, version=9.00.30729.9247

    C:\WINDOWS\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_none_08e394a1a83e212f\MSVCR90.dll, version=9.00.30729.9247

    C:\WINDOWS\System32\DEVOBJ.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\ntshrui.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Users\Jonathan Rynd\AppData\Local\Microsoft\OneDrive\17.3.6720.1207\amd64\FileSyncShell64.dll, version=17.3.6720.1207

    C:\Users\Jonathan Rynd\AppData\Local\Microsoft\OneDrive\17.3.6720.1207\amd64\MSVCR120.dll, version=12.00.21005.1 built by: REL

    C:\Users\Jonathan Rynd\AppData\Local\Microsoft\OneDrive\17.3.6720.1207\amd64\MSVCP120.dll, version=12.00.21005.1 built by: REL

    C:\Users\Jonathan Rynd\AppData\Local\Microsoft\OneDrive\17.3.6720.1207\amd64\LoggingPlatform64.DLL, version=17.3.6720.1207

    C:\WINDOWS\SYSTEM32\WININET.dll, version=11.00.14393.447 (rs1_release_inmarket.161102-0100)

    C:\Users\Jonathan Rynd\AppData\Local\Microsoft\OneDrive\17.3.6720.1207\amd64\ClientTelemetry.dll, version=

    C:\WINDOWS\SYSTEM32\WSOCK32.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\srvcli.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Program Files\Common Files\TortoiseOverlays\TortoiseOverlays.dll, version=1, 1, 3, 21564

    C:\WINDOWS\System32\npmproxy.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\SETUPAPI.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Program Files\TortoiseHg\ThgShellx64.dll, version=2.8.1-6c08be0e64d5

    C:\WINDOWS\SYSTEM32\msi.dll, version=5.0.14393.576

    C:\WINDOWS\System32\WINTRUST.dll, version=10.0.14393.351 (rs1_release_inmarket.161014-1755)

    C:\WINDOWS\System32\urlmon.dll, version=11.00.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\iertutil.dll, version=11.00.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\FunDisc.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\EhStorShell.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\mssprxy.dll, version=7.0.14393.206 (rs1_release.160915-0644)

    C:\Windows\System32\fdproxy.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\fdwcn.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\PROGRA~1\MIF5BA~1\Office14\GROOVEEX.DLL, version=14.0.7113.5005

    C:\WINDOWS\WinSxS\amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_0a1fd3a3a768b895\ATL90.DLL, version=9.00.30729.6161

    C:\WINDOWS\System32\wcnapi.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\OneCoreCommonProxyStub.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\PROGRA~1\COMMON~1\MICROS~1\OFFICE14\Cultures\office.odf, version=14.0.7109.5000

    C:\Windows\System32\fdWNet.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\ATL.DLL, version=3.05.2284

    C:\PROGRA~1\MIF5BA~1\Office14\1033\GrooveIntlResource.dll, version=14.0.6009.1000

    C:\WINDOWS\System32\dfscli.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\browcli.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\sxs.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\nvshext.dll, version=369.09

    C:\WINDOWS\system32\igfxpph.dll, version=8.15.10.4229

    C:\WINDOWS\system32\hccutils.DLL, version=8.15.10.4229

    C:\WINDOWS\SYSTEM32\samcli.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\igfxrENU.lrc, version=8.15.10.4229

    C:\WINDOWS\system32\igfxsrvc.dll, version=8.15.10.4229

    C:\Program Files (x86)\WinSCP\DragExt64.dll, version=1.2.1.3231

    C:\Windows\System32\Windows.Globalization.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\Bcp47Langs.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\SYSTEM32\globinputhost.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\PlayToDevice.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\dtsh.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\FirewallAPI.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\fwbase.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\System32\MMDevApi.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\PortableDeviceApi.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\System32\EhStorAPI.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\WINDOWS\system32\FWPolicyIOMgr.dll, version=10.0.14393.0 (rs1_release.160715-1616)

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\diasymreader.dll, version=14.6.1586.0 built by: NETFXREL2

    C:\WINDOWS\System32\psapi.dll, version=10.0.14393.0 (rs1_release.160715-1616)

------------------------------------------------------------------------------


 

 

Edited by PaxonJollock
spoilering wall of text
Link to comment
Share on other sites

@PaxonJollock, sorry about that; it's my fault.  It's a bug with the error tooltips in CodeLab.

I'm working on several other bugfixes, and then I'll coordinate with BoltBait so he can get a new release out.

 

 

 

Anyways, the error in your code is this line.

progressPixel = img[x,y];

img is null, so you probably don't have an image in your clipboard.

(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

14 minutes ago, PaxonJollock said:

Wait, I need to have an image on my clipboard while I am developing the plugin?! Never thought of that.

Well, your code is trying to fetch an image from the clipboard, so yes, in this case you do. ;)

(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

Nullcheck added, square root added (oopsy), and plugin is working now! Thanks a million! Just wishing PDN had plugins for blend modes between layers, so I didn't have to use the clipboard as an intermediary

Edited by PaxonJollock
Link to comment
Share on other sites

PaxonJollock though you should have an image in the clipboard while writing the plugin, your code needs to handle the case when there isn't an image in the clipboard. You don't want it crashing if someone forgets to load an image before running it.

Link to comment
Share on other sites

I response to a CodeLab plugin I posted, ReMake suggested it would be better for double-slider step size to track the precision, so clicking the arrows always changes the low digit. I agree. Though it's always possible to type in the full-precision value, that isn't convenient for making fine adjustments. There may be cases when it makes sense to use some other step size, but if there can only be one choice, I think it should be to increment and decrement the low digit by one.

Link to comment
Share on other sites

  • BoltBait changed the title to CodeLab v2.19 (for advanced users) Released April 15, 2017

CodeLab 2.19 Released

This is only for Paint.NET 4.0.6+!

 

Small update today...

 

Changes:

Fixed the crash that could be caused by the error tooltips. (toe_head2001)

▪ HiDPI fixes to all forms. (toe_head2001)

▪ IntelliBox items now filter as you type. (toe_head2001)

▪ Checkbox for Show Errors turns red if there are errors. (BoltBait)

 

Grab the CodeLab DLL here:

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

 

  • Upvote 6
Link to comment
Share on other sites

To expound on the IntelliBox filtering, here are two example scenarios.

 

You want to find all ColorBgra(s) that are a variation of 'Gold'.

filter1.png

 

 

You want to use "that Hex method", but can't remember what letter it starts with.

filter2.png

 

Basically, it now works more like the IntelliBox in Visual Studio.

  • Upvote 4

(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

CodeLab has come a long way. Thank you both for continuing to push its development.

Link to comment
Share on other sites

45 minutes ago, Ego Eram Reputo said:

CodeLab has come a long way.

 

Yes, if you compare the screenshots on the first page of this thread... and you think of the capabilities it has now vs. then...

 

Amazing.

 

All made possible by Tom Jackson's original code.

Link to comment
Share on other sites

I read on the first page that the original release of CodeLab came bundled with some sample Effects. Using the Wayback Machine, I dug up that old fossil from 11 years ago.

 

I went through each one, and made them all compatible with paint.net v4.

:RightArrowBlue:  Tom's Samples.zip

  • Upvote 2

(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

CodeLab 2.19 in Russian

 

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

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

  • Upvote 1
Link to comment
Share on other sites

  • 2 weeks later...

I have an error when starting CodeLab : 

Spoiler

File: C:\Program Files\Paint.NET\Effects\CodeLab.dll
      Name: PaintDotNet.Effects.CodeLab
      Version: 2.19.6314.36155
      Author: Copyright ©2017 BoltBait
      Copyright: C# Code Editor for Paint.NET Plugin Development
      Website: http://www.boltbait.com/pdn/CodeLab/
      Full error message: System.ComponentModel.Win32Exception (0x80004005): Could not load the Scintilla module at the path 'C:\Users\FAMILY\AppData\Local\Temp\ScintillaNET\2.19.6314\x86\SciLexer.dll'. ---> System.ComponentModel.Win32Exception (0x80004005): Access is denied
   at ScintillaNET.Scintilla.get_CreateParams()
   at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext)
   at ScintillaNET.Scintilla..ctor()
   at PaintDotNet.Effects.CodeTextBox..ctor()
   at PaintDotNet.Effects.CodeLabConfigDialog.InitializeComponent()
   at PaintDotNet.Effects.CodeLabConfigDialog..ctor()
   at PaintDotNet.Effects.CodeLab.CreateConfigDialog()
   at PaintDotNet.Menus.EffectMenuBase.RunEffectImpl(Type effectType) in D:\src\pdn\src\PaintDotNet\Menus\EffectMenuBase.cs:line 911
 

 

Link to comment
Share on other sites

3 hours ago, Eli said:

Could not load the Scintilla module at the path 'C:\Users\FAMILY\AppData\Local\Temp\ScintillaNET\2.19.6314\x86\SciLexer.dll'. ---> System.ComponentModel.Win32Exception (0x80004005): Access is denied

Access is being Denied to the tmp directory? That's odd.

 

Are you running with limited permissions in Windows? i.e. non-administrator account?

Do you have any extra "security" software on your system?

(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

Thanks BoltBait and Toe_head2001,

 

It was working about a month ago. I deleted everything from the Temp directory. Rebooted the PC and it still showed the same error. I saw that the SciLexer.dll was created. I went to see its properties and found that some of the permissions were unchecked.  I edited and now it works. I did not make those modifications. Perhaps AVAST did it for me. :) 

 

error-codelab-522913f.png

Link to comment
Share on other sites

  • 2 weeks later...

I'm in the process of refactoring a lot of the "Intellisense" stuff in CodeLab. Here's are some fun teaser screenshots for all of you.

 

Spoiler

This is a composite of two screenshots.

autocomplete.png

 

ooh la la! Look at that! IntelliBox for non-TypeMembers. Mash that Tab key!

 

 

Spoiler

Highlight for the object under the cursor.

usageHiLite0.png

usageHiLite1.png

It doesn't just match spelling; it also makes sure the it's the same kind of object (Type, Property, Field, Method, Variable).

usageHiLite2.png

^^^ The BrushWidth variable doesn't cause Highlighting on the BrushWidth Property.

 

 

 

Other good stuff too:

- Ctrl + J support

- It will remember the last used item from the IntelliBox, and will automatically select it the next time, if it's listed.

  • Upvote 4

(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...

More Work-in-Progress screenshots.

 

Previously, Constants and Enum Items would be shown generically as Fields, but they are now further differentiated.

I even have them show their values in the ToolTip (if they're static).

 

Spoiler

In the IntelliBox:

CodeLab-const.png

 

CodeLab-enumItem.png

 

CodeLab-staticField.png

 

and an Editor IntelliTip

CodeLab-constTip.png

 

 

I've also added Snippets for the following: if, else, switch, while, for, foreach, using.

Place the text caret on the right side of the word and press the Tab key (or press Tab twice when in the IntelliBox).

Spoiler

Here's what the Snippet for 'foreach' looks like:

 

CodeLab-foreach.png

 

The selection (or just the caret position in some cases) is automatically set, so you can start typing in the correct place within the Snippet.

 

 

  • Upvote 4

(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...

CodeLab 2.20 Released

This is only for Paint.NET 4.0.6+!

 

Small update today...

 

Changes:

Intelligent Assistance updates (see previous posts above for description). (toe_head2001)

▪ Frosted Glass added to list of Template effects (Ctrl+N) (BoltBait)

 

Grab the CodeLab DLL here:

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

  • Upvote 5
Link to comment
Share on other sites

  • BoltBait changed the title to CodeLab v2.20 (for advanced users) Released June 4, 2017

CodeLab 2.20 in Russian

 

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

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

  • Upvote 3
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...