Community
    • 登入

    Notepad++ 7.9.1 Released

    已排程 已置頂 已鎖定 已移動 Announcements
    50 貼文 18 Posters 13.1k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • mkupperM
      mkupper
      最後由 編輯

      The new URL parser does not recognize custom protocols I have added to my system. The URLs are not getting underlined nor does double-click work on them any more.

      For example, with npp v7.9 or earlier np://… would be underlined and when double clicked it launches npp to open the indicated file. This allowed me to have links to files that either have no file extension or whose default “open” is something other than notepad. For example, np://c:/tmptest.bat would open c:\bin\test.bat in notepad++ and file://c:/tmp/text.bat invokes the command prompt / batch file interpreter to run that batch script.

      Besides np:// I had added other protocols such as outlook:// to open Microsoft Outlook e-mail messages and folders

      It’s possible I need to add more to the registry to get npp to recognize my protocols. For np:// I added

      [HKEY_CLASSES_ROOT\np]
      @="URL:Notepad++ links"
      "EditFlags"=hex:02,00,00,00
      "URL Protocol"=""
      
      [HKEY_CLASSES_ROOT\np\DefaultIcon]
      @="C:\\Program Files (x86)\\Notepad++\\notepad++.exe,-9403"
      
      [HKEY_CLASSES_ROOT\np\shell]
      @="open"
      
      [HKEY_CLASSES_ROOT\np\shell\open]
      
      [HKEY_CLASSES_ROOT\np\shell\open\command]
      @="C:\\bin\\nplink.bat \"%1\""
      

      nplink.bat parses the URL passed to it on the command line and deal with things such as %20 expansion before passing the results on to np.bat which locates a copy of Notepad++.

      I’m running
      Notepad++ v7.9.1 (32-bit)
      Build time : Nov 2 2020 - 01:03:56
      Path : C:\Program Files (x86)\Notepad++\notepad++.exe
      Admin mode : OFF
      Local Conf mode : OFF
      OS Name : Windows 10 Home (64-bit)
      OS Version : 1909
      OS Build : 18363.1198
      Current ANSI codepage : 1252
      Plugins : DSpellCheck.dll HexEditor.dll mimeTools.dll NppConverter.dll NppExport.dll NppTextFX.dll PythonScript.dll

      mkupperM donhoD 2 條回覆 最後回覆 回覆 引用 0
      • mkupperM
        mkupper @mkupper
        最後由 編輯

        Related to this is the new URL parser does not recognize some protocols that are supported by Microsoft as part of Windows. For example, with npp 7.9 telnet://192.168.1.1 would be underlined and when double clicked it would launch telnet and try to connect to 192.168.1.1. Under npp 7.9.1 telnet://192.168.1.1 is not underlined and double-clicking it does nothing.

        1 條回覆 最後回覆 回覆 引用 1
        • PhyioaP
          Phyioa @Richard Carlson
          最後由 編輯

          @Richard-Carlson

          Hey,

          thanks for your explanations. I am struggling to get this to work with User Defined Languages.

          Say my language is called ABC, then I create a file ABC.xml in %APPDATA%/Notepad++/functionList and put my parser specifications there as your described.
          Now, in %APPDATA%/Notepad++/functionList/overrideMap.xml I put <association id= "ABC.xml" userDefinedLangName="ABC"/> right below the already existing entry for UniVerse BASIC.

          But when I restart Notepad++ it does not show anything in the functionList panel for files recognized as ABC. Why? What am I doing wrong?

          PeterJonesP 1 條回覆 最後回覆 回覆 引用 0
          • PeterJonesP
            PeterJones @Phyioa
            最後由 編輯

            @Phyioa said in Notepad++ 7.9.1 Released:

            @Richard-Carlson

            Hey,

            thanks for your explanations. I am struggling to get this to work with User Defined Languages.

            This specific thread (“Notepad++ 9.9.1 Released”) is really focused on pointing out bugs or regressions that are specific to v7.9.1 – and at this point, has really lived out its purpose. Questions of “how do I get feature X to work right” better go in the “Help Wanted” section: go to Help Wanted, and click on New Topic button.
            0db3b149-cda7-4cb9-a8b4-fa86bbad7b7c-image.png

            There have actually been a couple of recent posts that go through the process:

            • Arduino Language Support
            • How to enable a new Function List

            What am I doing wrong?

            The description of what you did seems right from a high-level, but you left out some important details – enough that it would take a crystal ball to help you at this point.

            If the links I provided above don’t help you get it working, feel free to go to “Help Wanted” and click New Topic to create a new post. In it, make sure you provide us more information:

            • post your ?-menu’s debug info (to make sure we know what version and plugins you have, which might be influencing things)
            • screenshot of the UDL form where you assign the name and extension for your User Defined language
            • example text embedded inside the result of the forum’s plain-text </> button
            • screenshot of the editor window showing that your active file has the right extension and is properly assocaited with your UDL (requires the Notepad++ window is wide enough that the status bar shows User Defined Language File - ABC in the lower-left of the status bar)
            • extract your exact <association id tag from overrideMap.xml, in </> plaintext (for example, if your quote above is accurate, maybe the space betwen the id= and "ABC.xml" is messing things up; doubtful, but maybe; exact quotes are better) – maybe even show it in context with some of the other association id
            • extract your <parser...> information from abc.xml

            Please remember: try what’s been suggested, and if you need more help, go to “Help Wanted” and click New Topic to create a new post with the requested details.

            1 條回覆 最後回覆 回覆 引用 2
            • donhoD
              donho @mkupper
              最後由 編輯

              @mkupper said in Notepad++ 7.9.1 Released:

              The new URL parser does not recognize custom protocols I have added to my system.

              URI customized schemes will be in v7.9.2:

              e96d8555-8782-4682-9f2c-6f59b985cc7a-image.png

              1 條回覆 最後回覆 回覆 引用 4
              • Moisey OysgeltM
                Moisey Oysgelt @ImSpecial
                最後由 編輯

                @ImSpecial After installation v 7.9.1 64 bits Windows 10 Prof

                I getting a regular error

                The program notepad++.exe version 7.9.1.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.

                 Process ID: 5190
                
                 Start Time: 01d6c96b0a8cd5fb
                
                 Termination Time: 7732
                
                 Application Path: C:\Program Files (x86)\Notepad++\notepad++.exe
                
                 Report Id: 83687066-025b-44cb-9509-9dc5ffc85fc5
                
                 Faulting package full name: 
                
                 Faulting package-relative application ID: 
                
                 Hang type: Unknown
                
                PeterJonesP 1 條回覆 最後回覆 回覆 引用 0
                • TroshinDVT
                  TroshinDV
                  最後由 編輯

                  Screenshot_15.png
                  Notepad++ v7.9.1 (32-bit)
                  Build time : Nov 2 2020 - 01:03:56
                  Path : C:_ProgramF\Notepad++\notepad++.exe
                  Admin mode : ON
                  Local Conf mode : OFF
                  OS Name : Windows 7 Ultimate (64-bit)
                  OS Build : 7601.0
                  Current ANSI codepage : 1251
                  Plugins : ChangedLines.dll DoxyIt.dll Explorer.dll ExtSettings.dll HexEditor.dll jN.dll JSMinNPP.dll LanguageHelp.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConverter.dll NppExport.dll NPPJSONViewer.dll NppSnippets.dll NppXmlTreeviewPlugin.dll RunMe.dll Tidy2.dll WindowManager.dll XMLTools.dll

                  PeterJonesP 1 條回覆 最後回覆 回覆 引用 0
                  • PeterJonesP
                    PeterJones @TroshinDV
                    最後由 編輯

                    @TroshinDV ,

                    Which version of HexEditor.dll do you have? Because the older version broke with Notepad++ v7.9 and newer (see here, for example). You might want to go into the plugins directory, and delete/rename HexEditor\HexEditor.dll, then re-run Notepad++. Once inside Notepad++, try running Plugins Admin and re-installing HexEditor, and see if that fixes it for you.

                    I can install HexEditor v7.9.8 without a crash/exception.

                    TroshinDVT 1 條回覆 最後回覆 回覆 引用 1
                    • PeterJonesP
                      PeterJones @Moisey Oysgelt
                      最後由 編輯

                      @Moisey-Oysgelt ,

                      I doubt your issue has anything to do with what @ImSpecial described.

                      Also, you contradict yourself: you claim you installed v7.9.1-64bits, but the process information you quoted has the path for the 32bit application.

                      If you reboot, does the problem continue? If you uninstall v7.9.1, and go back to v7.9.0, does it also crash for you, or does it work?

                      1 條回覆 最後回覆 回覆 引用 1
                      • TroshinDVT
                        TroshinDV @PeterJones
                        最後由 編輯

                        @PeterJones said in Notepad++ 7.9.1 Released:

                        Which version of HexEditor.dll do you have?

                        Да уже никакую. Удалил :(

                        1 條回覆 最後回覆 回覆 引用 0
                        • James SquiresJ
                          James Squires
                          最後由 編輯

                          I couldn’t find a place to report a bug so posting here. I hope that is correct.
                          I installed ver 7.9.1 over 7.9 and found when I went to the FIND function - the COUNT button was missing. It just had a blank space where it was supposed to be. All other buttons were in the usual place. I reverted back to 7.9 and the button is back.
                          Hope this helps.

                          PeterJonesP 1 條回覆 最後回覆 回覆 引用 0
                          • PeterJonesP
                            PeterJones @James Squires
                            最後由 PeterJones 編輯

                            @James-Squires ,

                            784069ac-cead-406e-9b37-649b420d4e06-image.png

                            The count button is there for me – and since such a wild regression wasn’t reported during any of the release candidates, or during the last nearly 2 months since v7.9.1 was released, I think it was probably a fluke occurrence for you.

                            I would suggest first downloading a portable Notepad++ v7.9.1, and running from there; I am guessing that you won’t see the problem. Then try re-installing v7.9.1 normally from the installer, and see if the problem repeats itself in the installed version. If things are fine, then it was a one-time fluke, and we’re glad it’s working for you.

                            If it does have the problem for you again after the re-install, open a new “Help Wanted” topic, include your ? menu Debug Info and a screenshot of the missing button, and we’ll help you in that new topic. (Make sure you also explain that you followed my directions, so if someone else reads the question there without the context here, they won’t ask you to repeat the experiment you already did.)

                            James SquiresJ 1 條回覆 最後回覆 回覆 引用 4
                            • James SquiresJ
                              James Squires @PeterJones
                              最後由 編輯

                              @PeterJones Must have been a one time weird thing. I reinstalled from download direct and it is fine. Thanks for all that you do!

                              1 條回覆 最後回覆 回覆 引用 2
                              • David CampbellD
                                David Campbell @donho
                                最後由 編輯

                                Hi, Notepad++ v7.9.1 win10 desktop.
                                I use logitec m570 trackball and elecom trackball mice and the extra button functions have stopped working in the last couple of updates. Specifically I reprogram my forward/back extra buttons to be ctrl-C copy, and ctrl-V paste and these are not working in the latest updates. They work fine in all other apps and they used to work in notepad++ a month or so ago.
                                Is this a changed item or perhaps a plug-in update has disabled the extra buttons?

                                I re-installed Logitec setpoint (latest drivers…) and the elecom program and re-installed notepad++.

                                The advantage is I can select text and copy/paste from the mouse without right click, copy (fewer clicks…)
                                Now I need to right click, copy or shift to the keyboard ctrl-C.

                                Great program I have used since win98, many years. David

                                David CampbellD 1 條回覆 最後回覆 回覆 引用 1
                                • David CampbellD
                                  David Campbell @David Campbell
                                  最後由 編輯

                                  @David-Campbell Follow up on extra mouse button ‘copy’ and ‘paste’ functions not working. Turns out running in administrator mode disables the mouse copy paste action in win10 v.20H2 . Turning off the run as administrator in properties/compatibility allows the extra mouse buttons to be programed to copy and paste with both elecom and logitec mice. Saves 3 steps/clicks in a copy paste operation - missed it ! David

                                  1 條回覆 最後回覆 回覆 引用 4
                                  • Vivek YelluruV
                                    Vivek Yelluru
                                    最後由 編輯

                                    XML Tools 3.1.0.1 version is not supported in Notepad
                                    ++ 7.9.1 upgrade.
                                    Plugin is not getting installed due to the following issue “A DLL initialization routine failed XML Tools.dll is not compatible with the current version of Notepad++”.

                                    Please fix this issue or let us know the compatible version.

                                    EkopalypseE 1 條回覆 最後回覆 回覆 引用 0
                                    • EkopalypseE
                                      Ekopalypse @Vivek Yelluru
                                      最後由 編輯

                                      @Vivek-Yelluru

                                      according to PluginAdmin the current version is 3.1.1.1

                                      6d4b43cd-a011-4632-a737-d7f27084b7e1-image.png

                                      1 條回覆 最後回覆 回覆 引用 1
                                      • PeterJonesP PeterJones locked this topic on
                                      • 第一個貼文
                                        最後的貼文
                                      The Community of users of the Notepad++ text editor.
                                      Powered by NodeBB | Contributors