Community
    • Login

    Increase the size of the Search Field

    Scheduled Pinned Locked Moved General Discussion
    11 Posts 4 Posters 1.0k 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.
    • mkupperM
      mkupper @Luciano Franca
      last edited by

      @Luciano-Franca I normally develop and test search/replace things in a Notepad++ edit window. I also use Notepad++ to develop Excel spreadsheet functions.

      The advantage of doing it that way is that you can also have comments and notes explaining why you are doing something a certain way, or to have the code/expression spread out over multiple lines. To use or execute a particular expression you wrap it into one line using Notepad++'s Ctrl-J (join) and then copy/paste it. Back in Notepad++ I then do Ctrl-Z (undo) to restore the human readable unwrapped text.

      Another advantage of developing “off line” like this is you can save or archive multiple versions.

      Luciano FrancaL 1 Reply Last reply Reply Quote 2
      • Luciano FrancaL
        Luciano Franca @mkupper
        last edited by

        @mkupper

        I have also used it this way
        however I see that the way it is in UltraEdit is more powerful.

        And it’s not complicated because it would be replacing the TEdit component with a Tmemo

        Grateful

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

          @Luciano-Franca ,

          Unfortunately, because of the way that some people have presented previous suggestions regarding making the search field bigger, the developer has been highly soured on the idea. I personally doubt that the developer would implement it or accept a PR, even if a new and exceedingly polite feature request were created, though I have been wrong about such things before.

          I have previously seen reported that the ToolBucket plugin includes multiline search-and-replace; you might consider trying that plugin to see if it meets your needs.

          addendum: However, it appears to have not been updated in a few years… and since Notepad++ has changed some of the header files that plugins use, it may be that certain ToolBucket commands might cause problems; again, I have no experience with it, so I don’t know if it still works with modern Notepad++ or not.

          update 2: per this conversation, ToolBucket is confirmed working on Notepad++ v8.2.1 or earlier, but that it may break due to the changes in Notepad++ v8.3 and newer.

          Luciano FrancaL 1 Reply Last reply Reply Quote 1
          • Luciano FrancaL
            Luciano Franca @PeterJones
            last edited by

            @PeterJones

            How could I present this suggestion
            Is it for this topic or should I do it somewhere else?

            PeterJonesP 1 Reply Last reply Reply Quote 0
            • Mark OlsonM
              Mark Olson
              last edited by

              IMO the simplest (partial) solution to this problem is to fix the existing problems with pasting multiline selections into the search field. I don’t know if it’s technically feasible to do this, but maybe there’s a way to automatically convert, for example, newline chars into \r and \n?

              PeterJonesP 1 Reply Last reply Reply Quote 1
              • PeterJonesP
                PeterJones @Luciano Franca
                last edited by

                @Luciano-Franca said in Increase the size of the Search Field:

                How could I present this suggestion
                Is it for this topic or should I do it somewhere else?

                This forum has a FAQ entry on “Feature Requests / Bug Reports”. That would be an excellent place to find out where to make feature requests or bug reports. The “please read before posting” told you this as well.

                Luciano FrancaL 1 Reply Last reply Reply Quote 0
                • PeterJonesP
                  PeterJones @Mark Olson
                  last edited by

                  @Mark-Olson said in Increase the size of the Search Field:

                  IMO the simplest (partial) solution to this problem is to fix the existing problems with pasting multiline selections into the search field. I don’t know if it’s technically feasible to do this, but maybe there’s a way to automatically convert, for example, newline chars into \r and \n?

                  pasting: no. However, unless you’ve changed the default settings, when you have selected text and you start a new search/replace (^F or ^H), it will auto-populate the Find What with the selected text, even if it’s multiple lines (as long as it’s less than a threshold, about 1000 characters IIRC)

                  1 Reply Last reply Reply Quote 1
                  • Luciano FrancaL
                    Luciano Franca @PeterJones
                    last edited by

                    @PeterJones

                    I already looked and I didn’t find
                    please what is the link ?

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

                      @Luciano-Franca said in Increase the size of the Search Field:

                      @PeterJones

                      I already looked and I didn’t find
                      please what is the link ?

                      I’m sorry, I didn’t think it was too hard to find:

                      You could have gone to the main page of the forum, then done the following two clicks:
                      c737721f-1e89-4f15-ab08-3f43f084e273-image.png

                      Or, within a few pixels of the “New Topic” button that you clicked when you originally created your “Increase the size of the Search Field” post, you would have seen the “Please Read This Before Posting”, which is locked to the top of the “General Discussion” and “Help Wanted” categories specifically so that people will read it before posting. If you had read that post, you would have also seen the link to “Feature Requests and Bug Reports”:

                      eacd71c0-214f-4b40-b9eb-c9b3d92f50d7-image.png

                      But since you don’t seem to be able to find that, I will also copy/paste the link for you:
                      https://community.notepad-plus-plus.org/topic/15741/faq-desk-feature-request-or-bug-report

                      Luciano FrancaL 1 Reply Last reply Reply Quote 0
                      • Luciano FrancaL
                        Luciano Franca @PeterJones
                        last edited by

                        @PeterJones

                        https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13959

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