Topic: Notepad++ universal x64 plugin  (Read 1076 times)

Notepad++ universal x64 plugin
« on: August 31, 2019, 02:55:38 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 256
A long time ago I introduced a comprehensive plugin for Notepad++ that I revised some time ago (v 7.x).

It differs from other plugins by mainly these special features:
  • It always points to the current Notepad++ version (could be downloaded during build)
  • The default text font can be set to "Consolas"
  • Syntax highlighting for .script file extension (WB082 style)

Have fun!
« Last Edit: October 09, 2019, 11:14:19 AM by Mikka, Reason: Plugin update »

Re: Notepad++ universal x64 plugin
« Reply #1 on: September 22, 2019, 08:45:05 PM »

Malok

  • Chef
  • ***
  • Location: Canada
  • Date Registered: Aug 2016
  • Posts: 202
I found that we can replace the system default text editor for Notepad++ with this.

Code: [Select]
  RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe",Debugger,"#$q%PE_Programs%\%ProgramFolder%\%ProgramExe%#$q -notepadStyleCmdline -z"


Re: Notepad++ universal x64 plugin
« Reply #2 on: September 30, 2019, 10:55:34 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 256
The Notepad++ universal x64 plugin has been updated.
« Last Edit: October 09, 2019, 12:48:06 PM by Mikka »

Re: Notepad++ universal x64 plugin
« Reply #3 on: October 09, 2019, 11:28:40 AM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 256
Quote from: Malok
Code: [Select]
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe",Debugger,"#$q%PE_Programs%\%ProgramFolder%\%ProgramExe%#$q -notepadStyleCmdline -z"

An option was added. However, my test results were divided, particularly for Notepad++ 7.8 RC I noticed bugs.
So I disabled that option by default and will stick to file associations...

Re: Notepad++ universal x64 plugin
« Reply #4 on: October 13, 2019, 03:36:52 AM »

Malok

  • Chef
  • ***
  • Location: Canada
  • Date Registered: Aug 2016
  • Posts: 202
Hi Mikka,

I noticed that The Icon displayed is in another key.

Code: [Select]
RegWrite,HKLM,0x2,Tmp_Software\Classes\txtfile\DefaultIcon,,%PE_Programs%\%ProgramFolder%\%ProgramExe%

And if you replace the default editor the following extensions are automatically registered.

,txt, .bat, .cmd, .inf, .ini, .jse, .js, .reg, .vbe, .vbs, .xaml, .xbap, wsf, .zap, .Script, .htm, .html

and adding them back a second time with file registration will cause bugs in the context menus and other undesired effects related to shell handling.

there is also another bug with the select application dialog that shows the old program name instead of Notepad++ but still it runs the good editor.

Re: Notepad++ universal x64 plugin
« Reply #5 on: October 15, 2019, 11:20:05 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 256
Good to know that it's possible to fine tune that.
I was refering to that bug which affects Notepad++ 7.8x.

Re: Notepad++ universal x64 plugin
« Reply #6 on: October 17, 2019, 03:39:48 AM »

Malok

  • Chef
  • ***
  • Location: Canada
  • Date Registered: Aug 2016
  • Posts: 202
I didn't knew this one, I use 7.7 at the moment, But the fix has been committed to the project a couple day ago, it should be working in next release.

 

Powered by EzPortal