Community
    • Login

    Notepad++ v7.9.2 Released

    Scheduled Pinned Locked Moved Announcements
    78 Posts 25 Posters 15.5k 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.
    • Artur HarisonA
      Artur Harison
      last edited by Artur Harison

      @donho
      Bug with field of Search Result #9341 which I already wrote in CR theme.
      Will this be fixed? It’s important for me.

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

        No comments at all on my “new-in-7.9.2 URI customized schemes” issue from above?
        It is really getting in the way of something I’d like to do with this new feature.

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

          @Alan-Kilborn said in Notepad++ v7.9.2 Released:

          I’m noticing the following “weirdness” with the new-in-7.9.2 URI customized schemes

          There’s no way to satisfy all the custom URI’s rule, so it has to be generic. Currently custom URI follows URL’s pattern. What you see the exception of your foo:// is not accepted in URL scheme as well. Feel free to create an issue on Github Notepad++ if you think it’s a bug (for URL).

          Alan KilbornA mkupperM 2 Replies Last reply Reply Quote 0
          • donhoD
            donho @Artur Harison
            last edited by

            @Artur-Harison said in Notepad++ v7.9.2 Released:

            Bug with field of Search Result #9341 which I already wrote in CR theme.
            Will this be fixed?

            I’ll take a look on it.

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

              @donho said in Notepad++ v7.9.2 Released:

              There’s no way to satisfy all the custom URI’s rule, so it has to be generic. Currently custom URI follows URL’s pattern. What you see the exception of your foo:// is not accepted in URL scheme as well. Feel free to create an issue on Github Notepad++ if you think it’s a bug (for URL).

              I’m totally unsure what any of that means.
              Can someone “translate” it for me? :-)
              Meanwhile I will guess…

              It would be my hope and expectation that if Notepad++ considers something like file://w:\testing\test as a link and underlines it (and opens the file in the associated application and the file when double-clicked – AND IT DOES!) it would also do it – the underlining, not the opening – for the same argument for a custom “protocol” such as my foo://w:\testing\test.

              I can create an issue, but don’t want to waste effort if this is an unrealistic expectation. Thinking about it in light of what @donho said, maybe an issue I open should be a “counter-issue”, saying that Notepad++ should NOT underline/open file://w:\testing\test because backslashes in this are “not correct”?

              I can still do what I want with the custom protocols, but (ugh!) it means I would have to convert every Windows path I would ever use from:

              c:\myfolder\mysubfolder\myfile.txt

              to

              c:/myfolder/mysubfolder/myfile.txt

              in order to get it ( foo://c:/myfolder/mysubfolder/myfile.txt ) to show in Notepad++ as a link.
              I can make a macro to do that, but, again, ugh!, it means selecting a pathname and running the macro each time I need a pathname.

              Side note: Chrome has no issue if I put file://c:\myfolder\mysubfolder\myfile.txt into its address box and press Enter.

              But in the end, technically I don’t know if backslashes here are “spec” or not; I didn’t look it up, I just know which way I want it to work. :-)

              1 Reply Last reply Reply Quote 2
              • ArkadiuszMichalskiA
                ArkadiuszMichalski
                last edited by

                @Alan-Kilborn
                file:// is processed slightly differently than http(s) and customs schemes (with follow http rules) so that your example not works. This is how it was written by the author of the new URL parser (Uhf7). You can open an bug, if the changes are not big, it may take them into account (plus add new tests), who knows.

                Bassically on Windows for all urls/paths we can use \ or / by mixing them and it works (browsers also correct such url to correct format - try load such adress and check how it looks like).

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

                  @ArkadiuszMichalski said in Notepad++ v7.9.2 Released:

                  Bassically on Windows for all urls/paths we can use \ or / by mixing them and it works (browsers also correct such url to correct format - try load such adress and check how it looks like).

                  Sure. That’s when we are doing the sourcing. When something else is doing the sourcing (e.g. Notepad++), we typically always get \ – think of right-click-tab’s Full File Path to Clipboard.

                  For what I want to in this circumstance, it is a (minor) stopper. I’ll be elaborating on exactly what I’m doing soon in another thread. Key to what I’m doing is Notepad++ underlining-as-link the “right” thing for me, scripting can take it from there. I don’t want to have to reinvent the wheel and do my own “underlining”.

                  Michael VincentM 1 Reply Last reply Reply Quote 1
                  • Michael VincentM
                    Michael Vincent @Alan Kilborn
                    last edited by

                    @Alan-Kilborn said in Notepad++ v7.9.2 Released:

                    When something else is doing the sourcing (e.g. Notepad++), we typically always get \ – think of right-click-tab’s Full File Path to Clipboard.

                    I think the file:// URI typically has another / to start with to indicate the root directory, fully qualified path. So from your examples, the actual URI should be:

                    file:///w:\testing\test.txt
                    file:///w:/testing/test.txt
                    ...
                    

                    Typically, we “ignore” the leading / on Windows since the driver letter C: in this example acts like the root directory in linux operating systems. But, if we consider the “extra” / mandatory, then the foo:// example works for me:

                    c8d8d419-82f4-4c04-a1a4-7248afb10b79-image.png

                    See the first one doesn’t work using just the foo:// leader, but adding the extra / in the second example to indicate a file-like URI, it works. I’ve only added foo:// (with only 2 /'s to my URI custom schemes:

                    e241fa5f-9182-4241-822e-303a4bc6c88a-image.png

                    Cheers.

                    Alan KilbornA 1 Reply Last reply Reply Quote 3
                    • Alan KilbornA
                      Alan Kilborn @Michael Vincent
                      last edited by Alan Kilborn

                      @Michael-Vincent said in Notepad++ v7.9.2 Released:

                      See the first one doesn’t work using just the foo:// leader, but adding the extra / in the second example to indicate a file-like URI, it works.

                      Ah, Michael to the rescue now. Thanks!
                      Typing that third / is way less of a burden than converting all of the \ in the following path. (Note: it was truly only necessary to convert the one immediately after the colon of the drive letter, but that mixing of slashes was just too wacky to propagate through a bunch of data files)

                      I’ve only added foo:// (with only 2 /'s to my URI custom schemes

                      Which raises another point: in the box in the Preferences, is it correct to do foo:// or foo: alone? Maybe I don’t need the // but I am so used to seeing it as part of file:// or http:// with Notepad++ links that I just assumed… I suppose it will become more apparent as the experimentation goes on.

                      If I’d have tried foo: without the // from the beginning, I wouldn’t have “whined”, because foo:w:\blah\blah.txt highlights as a link just fine! Drat!

                      Michael VincentM 1 Reply Last reply Reply Quote 3
                      • Michael VincentM
                        Michael Vincent @Alan Kilborn
                        last edited by

                        @Alan-Kilborn said in Notepad++ v7.9.2 Released:

                        I wouldn’t have “whined”, because foo:w:\blah\blah.txt highlights as a link just fine! Drat!

                        Interesting. There are some URI’s that don’t use the // - I’m thinking mailto:user@domain.com so maybe foo: alone is fine for your use case. I think I pulled my extensive list from an issue or maybe the Notepad++ source code - I certainly didn’t type it all myself - that was cut and paste - from where, I can’t remember.

                        Cheers.

                        Alan KilbornA 1 Reply Last reply Reply Quote 1
                        • Alan KilbornA
                          Alan Kilborn @Michael Vincent
                          last edited by

                          @Michael-Vincent said in Notepad++ v7.9.2 Released:

                          I think I pulled my extensive list … I certainly didn’t type it all myself

                          Are you talking about then contents of the URI customized schemes you showed? :

                          36550a2a-85a2-415a-b833-333c1534c6ba-image.png

                          That list?
                          If so, then no, you didn’t do it: With the exception of the foo:// at the end, that is all default text content for that box in 7.9.2 !

                          Michael VincentM 1 Reply Last reply Reply Quote 1
                          • Michael VincentM
                            Michael Vincent @Alan Kilborn
                            last edited by

                            @Alan-Kilborn said in Notepad++ v7.9.2 Released:

                            that is all default text content for that box in 7.9.2 !

                            Oh… :-) that makes sense.

                            1 Reply Last reply Reply Quote 1
                            • EkopalypseE
                              Ekopalypse
                              last edited by

                              See https://community.notepad-plus-plus.org/topic/20563/notepad-v-7-9-2-ignores-print-line-number-preference

                              Does not happen with 7.9.1

                              donhoD 1 Reply Last reply Reply Quote 1
                              • EkopalypseE
                                Ekopalypse
                                last edited by

                                Different behavior in 7.9.1 and 7.9.2

                                Start Npp and open function list panel - close npp.
                                Restart Npp and function list panel should open automatically.
                                So far so good
                                But when one selects Run->Open file in another instance then

                                • in 7.9.1 it opens the file and the function list view
                                • in 7.9.2 it opens only the file
                                zanudZ EkopalypseE 2 Replies Last reply Reply Quote 1
                                • Alexey SmirnovA
                                  Alexey Smirnov
                                  last edited by

                                  V7.9.2 is TRASH! because notepad ++ still showed blank and empty space in bellow

                                  1 Reply Last reply Reply Quote -1
                                  • FREEMIUMF
                                    FREEMIUM
                                    last edited by

                                    Untitled2.jpg

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

                                      @FREEMIUM said in Notepad++ v7.9.2 Released:

                                      Fix this issue!

                                      What issue? You showed two screenshots, without any description of the problem you are having.

                                      To me, it looks like you have a .json file opened in Notepad++, and it seems to be highlighted as JSON. That’s working as designed.

                                      FREEMIUMF 1 Reply Last reply Reply Quote 1
                                      • FREEMIUMF
                                        FREEMIUM @PeterJones
                                        last edited by

                                        @PeterJones Untitled3.jpg

                                        Look V7.9.1 and V7.9.2… in V7.9.2 showed empty space

                                        EkopalypseE 1 Reply Last reply Reply Quote 0
                                        • EkopalypseE
                                          Ekopalypse @FREEMIUM
                                          last edited by

                                          @FREEMIUM

                                          could it be that you are referring to the setting
                                          Enable scrolling beyond last line ??

                                          ede2b86a-1f87-4b66-8563-73b7a8a0e772-image.png

                                          FREEMIUMF 1 Reply Last reply Reply Quote 2
                                          • FREEMIUMF
                                            FREEMIUM @Ekopalypse
                                            last edited by

                                            @Ekopalypse Thank you, yes it’s enabled and why is default this function enabled in v.7.9.2?

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