Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Search - end of file

    General Discussion
    4
    6
    603
    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.
    • Jörg Läuftschreib
      Jörg Läuftschreib last edited by

      Hi
      in general I like using notepad++ - except that search ends at end of file. Is there setting possible, to continue search at beginning (or at end, when “backwards” mode)? Turning backwards on and off all the time is annoying. Jörg

      Ekopalypse 1 Reply Last reply Reply Quote 0
      • Ekopalypse
        Ekopalypse @Jörg Läuftschreib last edited by

        @Jörg-Läuftschreib

        what you are looking for is called wrap around

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

          @Ekopalypse

          Seems really obvious to me; maybe it is really obscure translated into Jorg’s language by Notepad++??

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

            @Alan-Kilborn

            to be honest, I had the same problem.
            As I started I asked my self what wrap around could mean.
            Thinking about wraps, the things to eat, I thought what should be wrapped?
            Took some time to figure out that this means search from current position to end and start from beginning to current position.
            But I don’t know of a better wording either.

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

              @Ekopalypse

              I asked my self what wrap around could mean.

              I had no such problem; the editor I used for a long time previously used similar verbage for the feature. But…maybe it is not a common usage.

              this means search from current position to end and start from beginning to current position.

              Or…search from the current position to the beginning and then from the end back to the current position (if doing “backward” search).

              Curiously, internally Notepad++ conducts two searches, not one, when doing this “wrap”, if no match is found in the first part (stopping it). Of course user only sees one search. Hmmm, maybe not so curious. But, this is only when it is user interactive…when wrap is specified and user-interactivity is not needed (ex. Replace All), Notepad++ just starts at the top and works thru til the end. :)

              1 Reply Last reply Reply Quote 3
              • PeterJones
                PeterJones last edited by

                @Alan-Kilborn said:

                editor I used for a long time previously used similar verbage for the feature.

                I just pulled up the IDE for the proprietary programming environment I use, circa 2005, and it uses “wrap” for the search as well. Maybe it’s an English (or American English) idiom which has worked its way into the official Computer-ese jargon.

                @Ekopalypse :

                Thinking about wraps, the things to eat, I thought what should be wrapped?

                The food gets its name from the verb “to wrap”, which in the Peter Standard Dictionary might be defined as “to surround (often snugly) with something”. In the food, you are “wrapping” the tortilla around the innards of the sandwich; for the search, you are “wrapping” the search position snugly around the whole document.

                The wiktionary entry’s item#7 in the verb definition is probably more where the search-wrap came from: “To (cause to) reset to an original value after passing a maximum.”.

                1 Reply Last reply Reply Quote 3
                • First post
                  Last post
                Copyright © 2014 NodeBB Forums | Contributors