Community
    • Login

    Notepad++ 7.5.7 release

    Scheduled Pinned Locked Moved Announcements
    37 Posts 20 Posters 39.8k 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.
    • Joe ....J
      Joe ....
      last edited by

      Longtime fan - first-time bug report.
      **I noticed the Find feature isn’t working. See the linked image below. **

      I searched for a word the normal way, no luck.
      Then I tried selecting all the text and finding the word, no luck again.
      The find on the Replace tab doesn’t work.
      The new find » button doesn’t work either.
      The count button works
      The Find All in Current Document works

      I use this feature a lot in Notepad++.
      For now, I’ll roll back to an earlier version.

      When I encounter the simple done well, I pause - reflect and say, thank you.
      So, thank you again, for your ongoing efforts to make such an amazing text editor.

      with a handshake,
      Joe

      Find Feature Error

      Scott SumnerS 1 Reply Last reply Reply Quote 0
      • Scott SumnerS
        Scott Sumner @Joe ....
        last edited by

        @Joe-…

        It all works fine for me. Can’t really tell what you are doing exactly, though, in order to comment further.

        …EXCEPT for this case, because you have the screenshot of that one:

        Then I tried selecting all the text and finding the word, no luck again.

        What is going on in this case is that the search is starting right AFTER the lower end of the selection. And since you are searching in the forward-direction (Backward direction not ticked) and you aren’t wrapping the search at end-of-file (Wrap around not ticked), the expected result is no hit for your search–by doing a select-all before the search you basically gave it no range to search!

        You can verify this by making the following selection and conducting the same search, and observing that it will “hit” on the Fix on line 11 (bullet point 9 in the change.log):

        Imgur

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

          Hello, @scott-sumner and All,

          Ah, Scott, I’ve never noticed this interesting point, indeed ! So, again, a new rule to remember :

          When, both, the Backwark direction and the Wrap around options are unset in the Find or Replace dialog AND if a “Select-all” operation ( Ctrl + A ) has been done, any search is irrelevant, as there is no search range at all !!


          Not related with this post but I noticed, when doing tests in the Mark panel, that the In selection option is available. So, we may highlight/bookmark a subset of the current file, only, and navigate between all the matches, of this subset, with the Ctrl + 0 and Ctrl + Shift + 0 shortcuts ;-))

          Best Regards,

          guy038

          Scott SumnerS 2 Replies Last reply Reply Quote 2
          • Scott SumnerS
            Scott Sumner @guy038
            last edited by

            @guy038

            I think you’re putting too many conditions on the “new rule”. It is certainly true the way you stated it, but…

            Here’s how it works when a selection is active: Find will start at the highest position of the main selection (there could be more than one selection in the case of “Multi-Editing” being enabled)–and we’re not talking rectangular selections right now) and will start looking beyond that position (forward-direction search) or behind that position (backward-direction search) when Find-Next is pressed. In the case of a rectangular selection, it doesn’t necessarily use the main selection–the selection of the line the caret is on–but rather uses the highest position of all of the selections. (I should add that in a rectangular selection, there are actually n selections, one for each of n lines making up the rectangle.)

            In the specific case of a select-all having been done previously, for a forward, non-wrapping search, there is indeed no range to search, so it is impossible to find a match for anything (of non-zero length…adding that qualifier for the regex gurus…).

            Note: “position” may be a term that is exposed more by Scintilla / Pythonscript – it may not generally be known to Notepad++ users…but it can be thought of as the index into the buffer of the individual characters…the first character is at position 0, the 2nd at 1, etc.

            1 Reply Last reply Reply Quote 1
            • Scott SumnerS
              Scott Sumner @guy038
              last edited by

              @guy038

              in the Mark panel, …the In-selection option is available. So, we may highlight…a subset of the current file…and navigate between all the matches of this subset with … Ctrl+0 and Ctrl+Shift+0

              As @Claudia-Frank pointed out (can’t find the thread right now), this is the best Notepad++ can currently do for a glaringly missing “Find All in Selection” feature. But I don’t think she brought up navigating those matches with the keycombos, so to that I say “Nice one!”

              1 Reply Last reply Reply Quote 1
              • Serge ArseneaultS
                Serge Arseneault @Wouter van Reek
                last edited by

                @Wouter-van-Reek said:

                Hi there,

                Thanks for Notepad++ and for the new version.
                This seems to be a new bug:
                In 7.5.7 when I open .js files the function list does not work (stays empty). In 7.5.6 the problem does not occur.

                Thank you,
                Wouter

                I just notice the same “bug” too. The function list for .js file is empty. (i just update to 7.5.7)

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

                  @Serge-Arseneault said:

                  I just notice the same “bug” too. The function list for .js file is empty. (i just update to 7.5.7)

                  It does work for me (v7.5.7, 32 bits). Could you provide your js file?

                  1 Reply Last reply Reply Quote 0
                  • donhoD
                    donho @Wouter van Reek
                    last edited by donho

                    @Wouter-van-Reek said:

                    In 7.5.7 when I open .js files the function list does not work (stays empty). In 7.5.6 the problem does not occur.

                    Could you provide more detail (the js file, for example) please?
                    I cannot reproduce it.

                    1 Reply Last reply Reply Quote 1
                    • donhoD
                      donho
                      last edited by donho

                      @Serge-Arseneault & @Wouter-van-Reek

                      OK, I guess I figur out your problem:
                      Your %appdata%\notepad++\functionList.xml is the old one which doesn’t match anymore to the new binary.

                      In order to remedy your problem, you need:

                      1. Installer the new version
                      2. Close Notepad++
                      3. Remove %appdata%\notepad++\functionList.xml
                      4. Relaunch Notepad++, and launch Function list

                      Notepad++ will copy a new functionList.xml from your Notepad++ installation location to %appdata%\notepad++\, and new copied functionList.xml is matched to the new version of binary.

                      Please let me know if it does work for you.

                      W 1 Reply Last reply Reply Quote 3
                      • Massimo FidanzaM
                        Massimo Fidanza
                        last edited by

                        I don’t know if this is a new feature (I don’t find mention anywhere) or regression, but in Open File dialog, when I digit “<some text>*”, all files that start with “<some text>” will be open, before I get a filter applied to files in the current folder.

                        Scott SumnerS 1 Reply Last reply Reply Quote 0
                        • Scott SumnerS
                          Scott Sumner @Massimo Fidanza
                          last edited by

                          @Massimo-Fidanza

                          Can’t tell for sure what you mean, but maybe try changing the Use new style save dialog… setting to its opposite state in Settings (menu) -> Preferences… -> Default Directory (box on left).

                          1 Reply Last reply Reply Quote 1
                          • W
                            Wouter van Reek @donho
                            last edited by

                            @donho Yes, this fixes the problem, thanks!

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