Community
    • Login

    Find no longer Finds anything

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    replacefind
    16 Posts 11 Posters 17.2k 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.
    • Terri PaxtonT
      Terri Paxton
      last edited by

      :O I think the Whole Word Selected might’ve been it. I find it baffling however and am eyeing the updates suspiciously. I can believe I might accidentally check it on one computer but two? Hopefully, now I can be rid of the curse of wbr code (since Google obviously cares not that every web designer sent embed code via gmail is snarling at them).

      1 Reply Last reply Reply Quote 0
      • Nerissa BelcherN
        Nerissa Belcher
        last edited by

        After NPP stopped finding things I fixed it by downloading the PythonScript_1.0.8.0.msi and choosing “repair” during the installation. Search worked after the repair.

        http://npppythonscript.sourceforge.net/download.shtml

        1 Reply Last reply Reply Quote 0
        • Andrés ZsögönA
          Andrés Zsögön
          last edited by

          Now that we are on it, the “whole word” option is not that practical anyway, eg, it considers a whole word that which is surrounded by spaces. If another character is found next to it, such as (), [], or {}, it is not a “while word” anymore for Npp.

          Scott SumnerS 1 Reply Last reply Reply Quote 0
          • Scott SumnerS
            Scott Sumner @Andrés Zsögön
            last edited by

            @Andrés-Zsögön

            “whole word” IS practical.

            A “whole word” is not strictly defined as “that which is surrounded by spaces”.

            If any of (, ), [, ], {, } is next to what looks like a word, it IS still found when doing a search with “whole word” option enabled, for example, all 12 of the following lines will be found when searched for “abc”:

            abc(
            abc)
            abc[
            abc]
            abc{
            abc}
            (abc
            )abc
            [abc
            ]abc
            {abc
            }abc
            

            But…perhaps I am misunderstanding what is meant by some of your statements…

            A pretty good discussion of what makes up a “word” and how the search engine deals with it was done by @guy038 here: https://notepad-plus-plus.org/community/topic/13004/bugs-in-normal-search-for-v7-2-2-on-windows-7

            1 Reply Last reply Reply Quote 2
            • Andrés ZsögönA
              Andrés Zsögön
              last edited by Andrés Zsögön

              @Scott-Sumner

              I’m afraid it doesn’t. Kindly search for $abc using the Entire Word option with these:

              bla $abc(
              bla $abc)
              bla $abc[
              bla $abc{
              bla {$abc} 404_NOT_FOUND
              bla ($abc 404_NOT_FOUND
              bla )$abc 404_NOT_FOUND
              bla [$abc 404_NOT_FOUND
              bla ]$abc 404_NOT_FOUND

              As you can see, anything with a (, ), [, ], {, } before it won’t be found by Notepad++ 7.3.3 for Windows (X86).

              This makes the Entire Word option so untrustworthy that I can never use it, not with PHP at least.

              Scott SumnerS 1 Reply Last reply Reply Quote 0
              • Scott SumnerS
                Scott Sumner @Andrés Zsögön
                last edited by Scott Sumner

                @Andrés-Zsögön

                Well, that case is discussed by @guy038 in the earlier posting I referenced; following the logic presented there indicates that your example will indeed not be matched.

                However, there is a way to get your desired behavior. In Settings (menu) -> Preferences -> Delimiter, change the “Word character list” as shown here: http://imgur.com/a/FhKc1

                Textually, change the radio button so that “Add your character…” is selected, and add the $ to the text box below it.

                1 Reply Last reply Reply Quote 1
                • Andrés ZsögönA
                  Andrés Zsögön
                  last edited by

                  @Scott-Sumner

                  Hey that worked perfectly, thanks. The name of the options is not very serious… a gray label with a warning instead of the explanation between parentheses would be more adequate. Is there some place where I can make suggestions for the GUI, to make it more professional and less… amateur? Thanks.

                  Scott SumnerS 1 Reply Last reply Reply Quote 0
                  • Scott SumnerS
                    Scott Sumner @Andrés Zsögön
                    last edited by

                    @Andrés-Zsögön

                    Report an issue or make a feature request here: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/

                    1 Reply Last reply Reply Quote 1
                    • Gera OvelcoreG
                      Gera Ovelcore
                      last edited by

                      I was having this issue and it seems i checked ‘match whole word only’. un-checking option fixed it.

                      1 Reply Last reply Reply Quote 0
                      • Charles DorsettC
                        Charles Dorsett
                        last edited by

                        Well, somehow I managed to deselect ‘Wrap around’ - this meant that I could only find instances that were below the cursor, which produced random results. Now it works fine.

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

                          @Charles-Dorsett said in Find no longer Finds anything:

                          …which produced random results

                          I could only find instances that were below the cursor,

                          It doesn’t sound like you achieved “random results”.
                          It seems like Notepad++ did what it was told to do, predictably and consistently.

                          1 Reply Last reply Reply Quote 1
                          • Daniel Santamaria RubioD
                            Daniel Santamaria Rubio
                            last edited by

                            I had the same issue and I managed to solve it.
                            You need to have regular expression tick box selected and wrap around tickbox aswell.

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