• Login
Community
  • Login

Some Questions about the 'Find' dialog

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
findregex
14 Posts 3 Posters 8.6k 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.
  • F
    fade2gray
    last edited by Feb 5, 2016, 4:07 PM

    Hi all,

    Notepad ++ 6.8.8

    1. Alt+w, Alt+p, Alt+y and (if ‘Search Mode = Regular expression’) Alt+.(dot) will toggle the state of ‘Match whole word only’, ‘Wrap around’, ‘Transparency’ and ‘.(dot) matches newline’ respectively, but Alt+c does not toggle the state of ‘Match case’. Is this a known issue?

    2. What regex engine is used? Older documentation (no longer supplied with the installer) suggests POSIX, but the ability to use certain regex features seems to suggest otherwise.

    Thanks for any info.

    C 1 Reply Last reply Feb 5, 2016, 4:38 PM Reply Quote 0
    • C
      Claudia Frank @fade2gray
      last edited by Feb 5, 2016, 4:38 PM

      Hello @fade2gray

      1. strange, when using regular expression ‘Match whole word only" is greyed out and
        alt+c works for me -> plugin issue?

      http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html
      and
      http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/format/boost_format_syntax.html

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • F
        fade2gray
        last edited by fade2gray Feb 5, 2016, 5:26 PM Feb 5, 2016, 5:25 PM

        Hi Claudia,

        Yes, in point 1. of my OP, ‘Match whole word only’ is greyed out unless ‘Search Mode = Regular expression’, but I seem to have discovered a deviation from the norm; where the Alt key is used to toggle the other check boxes, I find that Shift+c (not Alt+c) is required to toggle the state of ‘Match case’. This behaviour is the same with or without the additional plugins I had installed.

        C 1 Reply Last reply Feb 5, 2016, 5:34 PM Reply Quote 0
        • C
          Claudia Frank @fade2gray
          last edited by Feb 5, 2016, 5:34 PM

          @fade2gray

          actually you are right - on my system both work shift and alt.
          Can you check shortcut mapper or maybe shortcut.xml to see whether this shortcut
          has been reconfigured?
          Something which has

          <...  Ctrl="no" Alt="yes" Shift="no" Key="99" />
          

          Do you have a local or appdata configuration?

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 0
          • F
            fade2gray
            last edited by fade2gray Feb 5, 2016, 6:17 PM Feb 5, 2016, 6:16 PM

            Ok, I have “C:\Program Files (x86)\Notepad++\shortcuts.xml” and “C:\Users\fade2gray\AppData\Roaming\Notepad++\shortcuts.xml”; they are identical and neither contain anything pertaining to Key=“99”.

            In the above, does the latter file location indicate that i have an appdata configuration? (I didn’t change any configuration settings during installation except to add shortcut to desktop).

            Looking in the Shortcut Mapper I can only find the default setting of Alt+C assigned to Column Editor, but pressing Alt+C does not open the Column Editor dialog, I find it can only be invoked by selecting it from the Edit menu (again, this makes no difference regarding extra plugins).

            C 1 Reply Last reply Feb 5, 2016, 6:44 PM Reply Quote 0
            • C
              Claudia Frank @fade2gray
              last edited by Claudia Frank Feb 5, 2016, 6:44 PM Feb 5, 2016, 6:44 PM

              @fade2gray

              let’s put it this way, a local configuration is detected when a file doLocalConf.xml has been created in npp install directory.
              The column editor appears only if an editor has the focus. Can you post the debug-info? Is available under the ? menu.

              Cheers
              Claudia

              1 Reply Last reply Reply Quote 0
              • F
                fade2gray
                last edited by Feb 5, 2016, 7:01 PM

                @Claudia-Frank said in Some Questions about the 'Find' dialog:

                Can you post the debug-info? Is available under the ? menu.

                Here you go,

                Notepad++ v6.8.8
                Build time : Dec 10 2015 - 01:11:37
                Path : C:\Program Files (x86)\Notepad++\notepad++.exe
                Admin mode : OFF
                Local Conf mode : OFF
                OS : Windows 7
                Plugins : mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll
                
                C 1 Reply Last reply Feb 5, 2016, 7:42 PM Reply Quote 0
                • C
                  Claudia Frank @fade2gray
                  last edited by Feb 5, 2016, 7:42 PM

                  hmmm, perplexed.
                  Can you try a minimalistic version?
                  Just unzip and run it.

                  Cheers
                  Claudia

                  1 Reply Last reply Reply Quote 0
                  • F
                    fade2gray
                    last edited by Feb 5, 2016, 8:51 PM

                    Hmm - this gets more interesting,

                    Done as you requested and find exactly the same behaviour with the Find dialog when running the executable from the archive (note: Debug info = Local Conf mode : ON).

                    Now then, I also have 6.8.8 installed on my laptop (upgraded from an earlier version of which I can’t remember) that performs as expected, i.e. Alt+c works to toggle ‘Match case’.

                    On the main PC, I had had problems with the plugin manager constantly prompting me to update two plugins that I had previously installed but removed, and for some reason they no longer appeared in the ‘Available’ or ‘Installed’ list and wouldn’t update. That was at version 6.6.4 which I uninstalled prior to installing 6.8.8.

                    All I can think of doing now is to try a removal and reinstall of 6.8.8. Do you have any tips on how I should perform a fully clean install, e.g. are there any registry entries and directories I should pay particular attention to?

                    C 1 Reply Last reply Feb 5, 2016, 9:09 PM Reply Quote 0
                    • C
                      Claudia Frank @fade2gray
                      last edited by Feb 5, 2016, 9:09 PM

                      really strange.
                      When uninstalling delete C:\Program Files (x86)\Notepad++ directory afterwards,
                      as well as the %APPDATA% notepad++ directory and
                      HKLM->Software->Notepad++ should have been deleted.

                      Even I hope that this will fix your problem I’m not confident that it will.

                      Cheers
                      Claudia

                      F 1 Reply Last reply Feb 6, 2016, 12:30 PM Reply Quote 0
                      • F
                        fade2gray @Claudia Frank
                        last edited by Feb 6, 2016, 12:30 PM

                        @Claudia-Frank said:

                        really strange.
                        When uninstalling delete C:\Program Files (x86)\Notepad++ directory afterwards,
                        as well as the %APPDATA% notepad++ directory and
                        HKLM->Software->Notepad++ should have been deleted.

                        Even I hope that this will fix your problem I’m not confident that it will.

                        Cheers
                        Claudia

                        Well, your fears were unfounded, I followed what you outlined, reinstalled my favourite plugins and UDLs and all is well. :-)

                        Thanks for you assistance.

                        N.B. I have a niggling feeling that when I initially uninstalled 6.6.4 I failed to remove the ‘…\AppData\Roaming\Notepad++’ folder before installing 6.8.8, so there may have been something historically amiss in there.

                        1 Reply Last reply Reply Quote 0
                        • F
                          fade2gray
                          last edited by Feb 6, 2016, 12:57 PM

                          I also notice that Alt+C now correctly opens the ‘Column Editor’ without having to call it from the Edit menu.

                          C 1 Reply Last reply Feb 10, 2016, 7:28 PM Reply Quote 0
                          • C
                            Claudia Frank @fade2gray
                            last edited by Feb 10, 2016, 7:28 PM

                            @fade2gray

                            good to see that problem is gone but bad to know that this is another
                            “what was causing this issue”
                            I assume corrupt xml but which one…

                            Cheers
                            Claudia

                            1 Reply Last reply Reply Quote 0
                            • Rajkumar TamangR
                              Rajkumar Tamang
                              last edited by Apr 12, 2017, 8:29 PM

                              I have this problem, could you please help me explain this link: https://notepad-plus-plus.org/community/topic/13378/run-commands-issue/8 during run compilation, error is shown can’t fix it can you please help me. I have stopped working as i am not able to run in chrome . specification are windows 10 64bit

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