Community
    • Login

    Notepad++ v8.4.6 Release

    Scheduled Pinned Locked Moved Announcements
    54 Posts 25 Posters 22.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • donhoD
      donho
      last edited by

      Notepad++ v8.4.6 release:
      https://notepad-plus-plus.org/news/v846-released/

      Notepad++ v8.4.6 bug/regression-fixes and new features:

      1. Add Change History markers for document saved/unsaved/undone modification. (Fix #12164, #12046)
      2. Add setting tab color ability. (Fix #2271)
      3. Update to Scintilla 5.3.0 and Lexilla 5.1.9 (Implement #12045)
      4. Fix “Never” button not showing on Updater dialog regression. (Implement 9c86a33)
      5. Fix a printing selection regression. (Fix #11826, #12033, #11638)
      6. Revamp tab context menu: make it less cluttered by adding sub-menu. (Fix #12147)
      7. Fix a security vulnerability. (Fix #12113)
      8. Add dark mode support to Choose Color dialog. (Fix #12148)
      9. Add a page (tab) for incompatible (unloaded) plugins in Plugin Admin. (Fix #12069)
      10. Add Plugin list repository link and its version in PluginAdmin dialog.
      11. Fix horizontal bar showing issue while resizing document list’s height. (Fix #12191)
      12. Fix NPPN_DARKMODECHANGED wrong return value to plugins. (Fix #12144).

      Auto-update will be triggered in 1-2 weeks if there’s no critical bug found.

      donhoD 1 Reply Last reply Reply Quote 8
      • ImSpecialI
        ImSpecial
        last edited by

        I tired looking for a way to turn off this “Chagne History” but it looks my I’m missing those settings???

        https://i.imgur.com/rGIIgjZ.png

        Notepad++ v8.4.6 (64-bit)
        Build time : Sep 25 2022 - 19:51:39
        Path : C:\Programs\Notepad++\notepad++.exe
        Command Line :
        Admin mode : OFF
        Local Conf mode : ON
        Cloud Config : OFF
        OS Name : Windows 10 Pro (64-bit)
        OS Version : 21H2
        OS Build : 19044.2006
        Current ANSI codepage : 1252
        Plugins :
        BetterMultiSelection (1.5)
        ComparePlugin (2.0.2)
        DSpellCheck (1.4.24)
        mimeTools (2.8)
        nppConverter (4.4)
        NppExport (0.4)

        1 Reply Last reply Reply Quote 0
        • guy038G
          guy038
          last edited by guy038

          Hello, @imspecial,

          Easy :

          93039d56-a88b-4351-9bb6-7a03ca5dbd67-Capture d’écran 2022-09-29 115124.png

          Best Regards,

          guy038

          ImSpecialI rebber2R 2 Replies Last reply Reply Quote 5
          • Alan KilbornA
            Alan Kilborn
            last edited by

            One may wonder why the Display Change History setting is on the Margins/Border/Edge subpage rather than the Editing subpage. Well, the answer is simple; the history is shown in a “margin” on the left side of the editing window.

            Michael VincentM Alan KilbornA 2 Replies Last reply Reply Quote 3
            • Michael VincentM
              Michael Vincent @Alan Kilborn
              last edited by

              @Alan-Kilborn said in Notepad++ v8.4.6 Release:

              One may wonder why the Display Change History setting is on the Margins/Border/Edge subpage rather than the Editing subpage. Well, the answer is simple; the history is shown in a “margin” on the left side of the editing window.

              They may be looking at the image in the issue that’s linked to Change History and since it was my image, I’ve updated my comments to put some context before the image:

              (the below is NOT an actual screenshot, but a created image to show a concept - this is not in the real Preferences dialog window)

              Hopefully that will clear it up though I’m sure people see the pretty picture and ignore the words just before it!

              Cheers.

              1 Reply Last reply Reply Quote 2
              • Alan KilbornA
                Alan Kilborn
                last edited by

                Also, and sorry to continue polluting this thread with non-criticial-problem stuff, but… LISTEN UP PEOPLE: DON’T BE TOO HASTY WITH WANTING TO TURN OFF CHANGE HISTORY! We know you hate any kind of change and just scream for your old functionality back, but this is a killer feature, at least give it a chance!

                Danjel JungersenD 1 Reply Last reply Reply Quote 4
                • Alan KilbornA
                  Alan Kilborn @Alan Kilborn
                  last edited by Alan Kilborn

                  @Alan-Kilborn said in Notepad++ v8.4.6 Release:

                  One may wonder why the Display Change History setting is on the Margins/Border/Edge subpage rather than the Editing subpage. Well, the answer is simple; the history is shown in a “margin” on the left side of the editing window.

                  @donho Does the UI on the Margins/Border/Edge subpage need a slight adjustment?:

                  • Display Change History Margin
                  • Display Bookmark Margin
                  • Line Number Margin

                  Again, apologies as this is not critical…

                  donhoD 1 Reply Last reply Reply Quote 0
                  • donhoD
                    donho @Alan Kilborn
                    last edited by

                    @Alan-Kilborn said in Notepad++ v8.4.6 Release:

                    Does the UI on the Margins/Border/Edge subpage need a slight adjustment?:

                    The fact of these settings being in the subpage implies they are margins, so it’s not necessary IMO.

                    matteshM 1 Reply Last reply Reply Quote 3
                    • Iton HornI
                      Iton Horn
                      last edited by Iton Horn

                      Hello, dear Notepad++ Community,

                      if Notepad++ v. 8.4.6 is started using command line “-openSession” switch with BookmarksDook (2.3.3) plugin, it display bookmarks to the left of the text but does not display bookmarks in the plugin window. The session files are created with Notepad++ v. 8.4.5. Previous installation, the Notepad++ v. 8.4.5 displays bookmarks from the same session files properly.

                      Please check this.

                      Thank you.

                      Debug information:
                      Notepad++ v8.4.6 (32-bit)
                      Build time : Sep 25 2022 - 19:55:26
                      Path : C:…\Notepad++\notepad++.exe
                      Command Line :
                      Admin mode : OFF
                      Local Conf mode : ON
                      Cloud Config : OFF
                      OS Name : Windows 10 Enterprise (64-bit)
                      OS Version : 21H1
                      OS Build : 19043.2006
                      Current ANSI codepage : 1251
                      Plugins :
                      BookmarksDook (2.3.3)
                      ComparePlugin (2.0.2)

                      1 Reply Last reply Reply Quote 0
                      • Terry RT Terry R referenced this topic on
                      • ImSpecialI
                        ImSpecial @guy038
                        last edited by

                        @guy038
                        Very easy indeed, thanks!

                        @Michael-Vincent
                        TBH it was 3AM my time, so those “concept” words you added could’ve been giant siren lights and I still would’ve missed it. Pretty pictures are king unfortunately. :)

                        My suggestion for the “change history” is maybe add a quick toggle for it somewhere around here;
                        https://i.imgur.com/ZQK8SlG.png

                        Like I don’t hate it, and could find it useful on occasions, but 90% of the time I wouldn’t need it, and so it’s distracting more then not in my case.

                        Noticed that it also require a reboot when changing on/off, so maybe a toolbar toggle is out of the question either way.

                        PeterJonesP 1 Reply Last reply Reply Quote 0
                        • PeterJonesP
                          PeterJones @ImSpecial
                          last edited by PeterJones

                          @ImSpecial said in Notepad++ v8.4.6 Release:

                          Noticed that it also require a reboot when changing on/off

                          Exiting and reloading Notepad++ is sufficient. You do not have to do a full reboot of the OS/PC.

                          And you can turn off the feature without a restart; you only need to restart Notepad++ when you toggle it from off back to on.

                          1 Reply Last reply Reply Quote 3
                          • Bas de ReuverB
                            Bas de Reuver
                            last edited by

                            I’ve completed the latest CSV Lint 0.4.6 updates just yesterday. Is it possible to still include the latest nppPluginList in this Notepad++ release?

                            I try to do the plug-in updates in between regular Notepad++ updates so that the Plugins Admin always has the most recent version (doesn’t lag behind too much), but it’s hard to keep it in-sync because Notepad++ doesn’t have a regular release schedule afaik.

                            Alan KilbornA 1 Reply Last reply Reply Quote 0
                            • Alan KilbornA
                              Alan Kilborn @Bas de Reuver
                              last edited by

                              @Bas-de-Reuver said in Notepad++ v8.4.6 Release:

                              Is it possible to still include the latest nppPluginList in this Notepad++ release?

                              No. Probably should have prepared it during the RC phase, when it had a chance to get it.

                              Bas de ReuverB 1 Reply Last reply Reply Quote 1
                              • Bas de ReuverB
                                Bas de Reuver @Alan Kilborn
                                last edited by

                                @Alan-Kilborn ok I understand, I’ll keep an eye on the Announcements posts more, and try to plan the timing of plugin updates better.

                                1 Reply Last reply Reply Quote 2
                                • BillDavisonB
                                  BillDavison
                                  last edited by

                                  First time posting, but longtime Notepad++ user.

                                  I’m having printing problems that began with the upgrade to 8.4.6. The printed page has black text on a dark grey background, making it almost unreadable. This behavior is also visible in “print preview”. It affects all files, including newly created test files.

                                  Printing returns to normal if I turn off “display change history”.

                                  Debug info below:
                                  Notepad++ v8.4.6 (32-bit)
                                  Build time : Sep 25 2022 - 19:55:26
                                  Path : C:\Program Files (x86)\Notepad++\notepad++.exe
                                  Command Line :
                                  Admin mode : OFF
                                  Local Conf mode : OFF
                                  Cloud Config : OFF
                                  OS Name : Windows 10 Home (64-bit)
                                  OS Version : 21H2
                                  OS Build : 19044.2006
                                  Current ANSI codepage : 1252
                                  Plugins :
                                  DSpellCheck (1.4.21)
                                  Explorer (1.9.4)
                                  JSMinNPP (1.2006)
                                  mimeTools (2.8)
                                  NppConverter (4.4)
                                  NppExport (0.4)

                                  Michał ŁętowskiM 1 Reply Last reply Reply Quote 0
                                  • matteshM
                                    mattesh @donho
                                    last edited by

                                    @donho @Iton-Horn
                                    I can confirm, something is broken.
                                    See comparing results with my AnalysePlugin
                                    https://sourceforge.net/p/analyseplugin/bugs/92/

                                    reason is that with commit 9455684b429449f668c1aedb77ec9dcb1642c244
                                    the value of the blue circle bookmark did change

                                    -const int MARK_BOOKMARK = 24;
                                    ...
                                    +const int MARK_BOOKMARK = 20;
                                    

                                    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.

                                    please, comment

                                    Michael VincentM donhoD 2 Replies Last reply Reply Quote 0
                                    • Michael VincentM
                                      Michael Vincent @mattesh
                                      last edited by Michael Vincent

                                      @mattesh said in Notepad++ v8.4.6 Release:

                                      Proposal would be to change back the number, so that plugins can maintain using the blue bookmark as before.
                                      please, comment

                                      Not going to happen. Plugins will need to adjust. The bookmark value needed to be changed to accommodate for change history feature from scintilla which uses that marker number (24).

                                      Cheers.

                                      1 Reply Last reply Reply Quote 4
                                      • donhoD
                                        donho @mattesh
                                        last edited by

                                        @mattesh @Iton-Horn

                                        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#L368

                                        Here 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.  
                                        
                                        Alan KilbornA 1 Reply Last reply Reply Quote 4
                                        • Alan KilbornA
                                          Alan Kilborn @donho
                                          last edited by

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

                                          donhoD 2 Replies Last reply Reply Quote 2
                                          • donhoD
                                            donho @Alan Kilborn
                                            last edited by

                                            @Alan-Kilborn

                                            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.

                                            1 Reply Last reply Reply Quote 4
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors