• Login
Community
  • Login

survey: Incremental search usefulness

Scheduled Pinned Locked Moved General Discussion
79 Posts 17 Posters 17.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.
  • A
    astrosofista @Alan Kilborn
    last edited by May 14, 2020, 5:49 PM

    @Alan-Kilborn

    I seem to have missed those messages, I’m answering right now. Sorry about that.

    1 Reply Last reply Reply Quote 0
    • A
      asvc
      last edited by asvc May 18, 2020, 2:53 AM May 18, 2020, 2:50 AM

      I have created feature request at GitHub — https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8278

      @cmeriaux , I have experienced a few bugs, not sure if these are unique to my configuration yet:

      1. Using “Highlight All” makes N++ scroll the viewer despite that valid match is already present on the screen:

        animation

      2. Not all matches are highlighted. Testing on the following snippet:

        {
        	"guid": "{xx-xx-xx-xx}",
        	"name": "Command Prompt",
        	"commandline": "cmd.exe",
        	"icon": "ms-appx:///ProfileIcons/{xx-xx-xx-xx}.png",
        	// "colorScheme": "Campbell",
        	"antialiasingMode": "cleartype",
        	"closeOnExit": "graceful",
        	"cursorShape": "bar",
        	"fontFace": "Consolas",
        	"fontSize": 10,
        	"hidden": false,
        	"historySize": 9001,
        	"padding": "8, 8, 8, 8",
        	"snapOnInput": true,
        	"startingDirectory": "%USERPROFILE%",
        	"useAcrylic": false
        }
        

        Only the first one is highlighted and only two matches are highlighted after pressing “Enter”:
        npp_regexp.png

      Will continue using this build and report back if more bugs are found.

      1 Reply Last reply Reply Quote 4
      • C
        cmeriaux
        last edited by May 18, 2020, 5:55 AM

        @asvc Thanks for the futur request.
        The regexp issue may be related to the one already opened on github tracker

        A 1 Reply Last reply May 18, 2020, 10:03 AM Reply Quote 0
        • A
          asvc @cmeriaux
          last edited by May 18, 2020, 10:03 AM

          @cmeriaux said in survey: Incremental search usefulness:

          The regexp issue may be related to the one already opened on github tracker

          Which one? I might have missed the link.

          C 1 Reply Last reply May 18, 2020, 10:45 AM Reply Quote 0
          • F
            favdish @cmeriaux
            last edited by favdish May 18, 2020, 10:24 AM May 18, 2020, 10:24 AM

            @cmeriaux said in survey: Incremental search usefulness:

            here is a survey about the “incremental search” usefulness.
            Do you use it ?
            Yes.

            Do you need regular expression support ?
            In general, yes of course. I would not even consider using a text editor w/o regex support. However, specifically in incremental search, no.

            Do you need an incremental mode in the find panel ?
            Do you need an incremental mode in the replace panel ?
            Do you need an incremental mode in the mark panel ?
            No.

            1 Reply Last reply Reply Quote 0
            • C
              cmeriaux @asvc
              last edited by May 18, 2020, 10:45 AM

              @asvc
              https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3640
              https://github.com/notepad-plus-plus/notepad-plus-plus/pull/8269

              1 Reply Last reply Reply Quote 1
              • M
                Michael Vincent
                last edited by Jun 5, 2020, 7:25 PM

                Not to beat a dead horse, but this is related to incremental search.

                When I use incremental search and tick both “Highlight all” and “Match case”, do my search then close Notepad++. Upon re-open, they are not ticked anymore. Seems incremental search options are not saved in config.xml the way regular Find panel options are.

                I think that would be nice improvement to incremental search that wouldn’t ruffle too many feathers?

                Cheers.

                A 1 Reply Last reply Jun 5, 2020, 7:30 PM Reply Quote 2
                • A
                  Alan Kilborn @Michael Vincent
                  last edited by Alan Kilborn Jun 5, 2020, 7:32 PM Jun 5, 2020, 7:30 PM

                  @Michael-Vincent

                  If you’re saying that to @cmeriaux , well, then I think he already had that idea: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/7753
                  :-)
                  But…it appeared from that that at least part of the problem was fixed already??

                  Someone else had a somewhat-related idea in just the last 24 hours: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8375

                  Both are good ideas, I think.

                  M 1 Reply Last reply Jun 5, 2020, 7:39 PM Reply Quote 1
                  • M
                    Michael Vincent @Alan Kilborn
                    last edited by Jun 5, 2020, 7:39 PM

                    @Alan-Kilborn

                    I was saying it to anyone that would listen - I can always count on you :-)

                    I think my question / idea is a bit different. @cmeriaux 7753 does appear fixed, opening the bar, selecting options, closing bar, reopening bar - my selections are still there. I proposing to close the Notepad++ application altogether.

                    Then re-launch Notepad++ application (maybe this is where 8375 fits in - remember the “show” status of incremental search) - either way, my selected options are forgotten.

                    Contrast that to opening the Find dialogue between Notepad++ application relaunches, things like “Match whole word”, “Match case”, “Search mode” - they are all remembered - saved in config.xml.

                    I was wondering if the two check options in Incremental Search (and maybe the visible status of the bar itself) can be GUI options saved in config.xml?

                    I guess a feature request if I really want it.

                    Cheers.

                    1 Reply Last reply Reply Quote 3
                    • C
                      cmeriaux
                      last edited by Jun 6, 2020, 6:26 AM

                      @Michael-Vincent I thinks add incremental parameters to the global config file is a good idea.
                      I’ve already proposed this feature on the conversation of this feature https://github.com/notepad-plus-plus/notepad-plus-plus/pull/8248#issuecomment-626377716 but author reacted with a thumb down. So I doubt it would be accepted.
                      But you can write a new issue on github, the author may change it’s opinion… we never knows

                      1 Reply Last reply Reply Quote 1
                      • A
                        asvc
                        last edited by Jun 21, 2020, 2:19 AM

                        Has there been any traction on incremental search with regexp support?

                        I went through the NPP’s GitHub page and the Issue #8248 was last updated a month ago.

                        That being said, it reads like @sasumner is now slightly less critical of the idea :)

                        E 1 Reply Last reply Jun 21, 2020, 11:50 AM Reply Quote 0
                        • E
                          Ekopalypse @asvc
                          last edited by Jun 21, 2020, 11:50 AM

                          @asvc said in survey: Incremental search usefulness:

                          Has there been any traction on incremental search with regexp support?

                          Not that I’m aware.

                          A 1 Reply Last reply Jun 23, 2020, 1:24 PM Reply Quote 0
                          • C
                            cmeriaux
                            last edited by Jun 22, 2020, 5:58 AM

                            @asvc I’m affraid that the war has been lost, the feature won’t be implemented.
                            I’m sorry

                            1 Reply Last reply Reply Quote 1
                            • A
                              asvc @Ekopalypse
                              last edited by Jun 23, 2020, 1:24 PM

                              That feeling when you want to use a text editor, but it actively refuses to be used… I will try to poke @sasumner at GitHub one last time.

                              1 Reply Last reply Reply Quote 2
                              • A
                                asvc
                                last edited by Jun 26, 2020, 1:00 PM

                                When one door closes, another opens. Let’s try with the fork: https://github.com/dail8859/NotepadNext/issues/4

                                A 1 Reply Last reply Jun 26, 2020, 1:14 PM Reply Quote 1
                                • A
                                  Alan Kilborn @asvc
                                  last edited by Jun 26, 2020, 1:14 PM

                                  @asvc said in survey: Incremental search usefulness:

                                  the fork

                                  Why do you think NotepadNext is a fork of Notepad++?

                                  C 1 Reply Last reply Jun 26, 2020, 8:56 PM Reply Quote 1
                                  • guy038G
                                    guy038
                                    last edited by guy038 Jun 26, 2020, 7:49 PM Jun 26, 2020, 7:46 PM

                                    Hello, @don-ho, @cmeriaux, @alan-kilborn, @asvc, @ekopalypse, @michael-vincent, @astrosofista, @mapje71, @terry-r and All,

                                    In order to promote a bit the incremental search, with regular expressions I just had an idea :

                                    Why don’t we propose to put a new setting in the config.xml file to allow this new incremental search mode ? So, by default, for non-experienced users, the incremental search would remain a classical search ;-))

                                    I mean, in the same way that @don-ho, preserved the backward regex search with this new regexBackward4PowerUser attribute in the FindHistory tag, since N++ 7.8.7 Release 4. See my request to @don-ho, one month ago, for such a setting, in the last part of this post :

                                    https://community.notepad-plus-plus.org/post/54520

                                    Just hope you won’t find this idea too ridiculous !

                                    Best Regards

                                    guy038

                                    C 1 Reply Last reply Jun 26, 2020, 9:01 PM Reply Quote 1
                                    • C
                                      cmeriaux @Alan Kilborn
                                      last edited by Jun 26, 2020, 8:56 PM

                                      Nice fork. Qt is nicer than mfc. Too bad there isn’t a python API for plug-in because I don’t like Lua.

                                      1 Reply Last reply Reply Quote 1
                                      • C
                                        cmeriaux @guy038
                                        last edited by Jun 26, 2020, 9:01 PM

                                        @guy038 your idea is a good compromise but I think for a feature like this, it should be mainstream wheter be hidden through a config parameter

                                        A 1 Reply Last reply Jun 29, 2020, 2:37 PM Reply Quote 1
                                        • A
                                          asvc @cmeriaux
                                          last edited by Jun 29, 2020, 2:37 PM

                                          @Alan-Kilborn said in survey: Incremental search usefulness:

                                          Why do you think NotepadNext is a fork of Notepad++?

                                          c9e934f0-57c9-45c8-82f5-be35b2538ab2-image.png

                                          @cmeriaux said in survey: Incremental search usefulness:

                                          @guy038 your idea is a good compromise but I think for a feature like this, it should be mainstream wheter be hidden through a config parameter

                                          That’s a start! It can be used to gently introduce the functionality without creating any sort of discomfort for long-term users. Then, based on feedback, setting can be exposed in GUI.

                                          Now… How to deliver this message to @donho without annoying him with repetitive requests? :)

                                          A C 2 Replies Last reply Jun 29, 2020, 2:48 PM Reply Quote 1
                                          • First post
                                            Last post
                                          The Community of users of the Notepad++ text editor.
                                          Powered by NodeBB | Contributors