Notepad++ v8.4.6 Release
-
reason is that with commit 9455684b429449f668c1aedb77ec9dcb1642c244
the value of the blue circle bookmark did change
But this constant value is part of the Bookmark interface used in SCI_MARKERADD message.Proposal would be to change back the number, so that plugins can maintain using the blue bookmark as before.
Plugin authors should use
NPPM_ALLOCATEMARKER
to allocate marker ID, instead of using hard coded value:
https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/MISC/PluginsManager/Notepad_plus_msgs.h#L368Here is its usage:
int newId = 0; BOOL isOK = ::SendMessage(nppHandle, NPPM_ALLOCATEMARKER, 3, (LPARAM) &newId); // If the value of isOK is true, you allocate your marker IDs successfully. // Let's say newId is 4, so 4 is your marker start ID, and you have allocated 3 markers - 4, 5, 6 are the 3 IDs reserved in Notepad++ for your plugin.
-
@donho said in Notepad++ v8.4.6 Release:
Plugin authors should use NPPM_ALLOCATEMARKER to allocate marker ID, instead of using hard coded value
That is good advice, but only for plugins creating something new. The reference here, as far as I can tell, is to the BookmarkDook plugin, which needs to use the same marker Notepad++ uses for (existing) bookmarks. As that is changed, the BookmarkDook plugin author will have to change as well.
-
That is good advice, but only for plugins creating something new. The reference here, as far as I can tell, is to the BookmarkDook plugin, which needs to use the same marker Notepad++ uses for (existing) bookmarks. As that is changed, the BookmarkDook plugin author will have to change as well.
So in this case, a new API
NPPM_GETBOOKMARKMARGINID
will be made for plugins which use Bookmark Margin. -
@Alan-Kilborn said in Notepad++ v8.4.6 Release:
That is good advice, but only for plugins creating something new. The reference here, as far as I can tell, is to the BookmarkDook plugin, which needs to use the same marker Notepad++ uses for (existing) bookmarks. As that is changed, the BookmarkDook plugin author will have to change as well.
However, I’ve just checked the ID of bookmark margin, there’s no change (
_SC_MARGE_SYMBOL
):
https://github.com/notepad-plus-plus/notepad-plus-plus/commit/fc32fbdcce371bb669c9361d62c959b1b61e33f0#diff-d88ddee57a027ab23daf332c4778ced0cee352edcb34efdda1b218e8a75c61b2 -
@donho said in Notepad++ v8.4.6 Release:
However, I’ve just checked the ID of bookmark margin, there’s no change
It isn’t the margin id, it’s the marker id.
It used to be 24, now it is 20.
@mattesh discussed this, above. -
@Alan-Kilborn
Thank you for pointing out the real problem.NPPM_GETBOOKMARKID
has been add in the master:
https://github.com/notepad-plus-plus/notepad-plus-plus/commit/4d5069280900ee249d358bc2b311bdb4b03f30a9and the new API will be available in the next release.
-
As of October 2, 2022 at approximately 3:00 PM MDT, after upgrading the 64-bit version of Notepad++ from 8.4.5 to 8.4.6 on my 64-bit Windows 11 Home laptop computer, any attempt to launch Notepad++ is met with a large red background with white text error box that says “This app can’t run on your PC. To find a version for you PC, check with the software publisher”. The only button on that error message says “Close”.
Even downgrading to 8.4.5 does not work.
Even installing the 64-bit portable version from a ZIP file does not work.
Notepad++ is the ONLY application of the nearly 100 applications (good mix of regular and “Store” apps) that can no longer run on 64-bit Windows 11 Home edition as of October 2, 2022 at approximately 3:00 PM MDT.
-
Notepad++ is the ONLY application … that can no longer run on 64-bit Windows 11 Home edition as of October 2, 2022 at approximately 3:00 PM MDT.
It can and does run on Windows 11 Home.
-
@fmorriso
Have you updated automatically or manually?
If manually, have you used the x64 or the ARM64 installer?
If your system does not have an ARM processor, you will need the x64 installer.
Also always use the official download site at https://notepad-plus-plus.org/downloads/ -
mailto URI is not working anymore since several versions
- Issue with versions: 8.1.1 (32-bit), 8.4.4 (32-bit/64-bit), 8.4.6 (32-bit)
- Tested OK with versions: 6.8.8, 7.3 (64-bit)
Info:
Link OK without an e-mail address: mailto://
No link anymore when adding an e-mail address: mailto://user@domain.com
-
@C-VDSP said in Notepad++ v8.4.6 Release:
mailto URI is not working anymore since several versions
Seems like you should create an issue so developers see it; see some instructions HERE for doing so.
-
@C-VDSP said in Notepad++ v8.4.6 Release:
mailto URI is not working anymore since several versions
It works just fine if you use
mailto:username@domain.com
per the mailto URI standard. So if you use correct syntax, Notepad++ still knows what to do with it. -
-
FYI: Auto-update has been triggered for v8.4.6.
-
@BillDavison
It’s “Change history” feature. Disable it and printing goes back to normal. -
@Michał-Łętowski Thanks. I mentioned that in my post, though maybe not prominently.
This is being tracked on the “issues” forum. I should have posted there originally, but didn’t know better at the time.
-
@BillDavison said in Notepad++ v8.4.6 Release:
This is being tracked on the “issues” forum.
I think possibly here: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12281
I should have posted there originally, but didn’t know better at the time.
IMO you posted in the correct place. This current thread is for (new) problems specifically with this release.
-
-
-
why isn’t the setting:
backup -> enable session snapshot and periodic backup
remembered?
every time i restart np++ i have to set this again.
-
@mausalimi said in Notepad++ v8.4.6 Release:
why isn’t the setting:
backup -> enable session snapshot and periodic backup
remembered?
every time i restart np++ i have to set this again.You’re probably using multiple instances. That setting is automatically turned off in a second instance. If you quit the first instance first, then quit the second instance, the settings of the second instance are remembered.
-
@Alan-Kilborn
indeed it works now with only one instance.cool, thanks @all
-
-
@donho said in Notepad++ v8.4.6 Release:
@Alan-Kilborn
Thank you for pointing out the real problem.NPPM_GETBOOKMARKID
has been add in the master:
https://github.com/notepad-plus-plus/notepad-plus-plus/commit/4d5069280900ee249d358bc2b311bdb4b03f30a9and the new API will be available in the next release.
cc: @Iton-Horn @mattesh @Alan-Kilborn @Michael-Vincent
FYI, Mr. Dook has implied he will update the plugin when the new API is available (see here).
-