Community
    • Login

    Mark lines with blue balls and jump between them

    Scheduled Pinned Locked Moved General Discussion
    15 Posts 8 Posters 8.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.
    • Terry RT
      Terry R @guy038
      last edited by

      @guy038 said in Mark lines with blue balls and jump between them:

      So, could you do some tests to verify this assumption ?

      Oddly enough I cannot get the Ctrl + 0 or Ctrl + Shift + 0 to work. I have 2 words highlighted in 2 different styles, but those shortcut keys (with the 0) don’t appear to do anything. The shortcut keys involving 1 (for first style) and 2 (for second style marked) are working to provide forwards and backwards motion.

      I won’t be able to do anymore tests for a few hours, I have to deal with the log4j vulnerability on our network. Scans have identified several issues requiring immediate attention.

      Later when I can I will use a portable version (in case my installation has issues) and see if anything further turns up with tests.

      Terry

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • guy038G
        guy038
        last edited by guy038

        Hi, @terry-r and All,

        Terry, may be, we’re speaking, each other, about different things ! I’m not concerned with styles 1 to 5 at all but only with the Mark dialog.

        So, open the change.log tab, use the Ctrl + M shortcut, search for the word fix, in any case and click on the Mark All button. Then, use the Ctrl + 0 and Ctrl + Shift + 0 shortcuts to navigate from one occurrence of marked text to another, onwards and backward ! ( You don’t even need to tick the Bookmark line option )

        BR

        guy038

        astrosofistaA Terry RT 2 Replies Last reply Reply Quote 0
        • astrosofistaA
          astrosofista @guy038
          last edited by

          @guy038

          Did that and could navigate up and down without issues. Tested in my installed v7.9.5, with lots of plugins, and on a bare-bones portable v8.1.9.3.

          Debug info:

          Notepad++ v8.1.9.3   (64-bit)
          Build time : Dec  6 2021 - 19:21:37
          Path : D:\Applications\npp.8.1.9.3.portable.x64\notepad++.exe
          Command Line : 
          Admin mode : OFF
          Local Conf mode : ON
          Cloud Config : OFF
          OS Name : Windows 10 Pro (64-bit) 
          OS Version : 2009
          OS Build : 19042.1415
          Current ANSI codepage : 1252
          Plugins : mimeTools.dll NppConverter.dll NppExport.dll 
          

          Hope this helps

          1 Reply Last reply Reply Quote 1
          • Terry RT
            Terry R @guy038
            last edited by

            @guy038 said in Mark lines with blue balls and jump between them:

            Terry, may be, we’re speaking, each other, about different things ! I’m not concerned with styles 1 to 5 at all but only with the Mark dialog.

            Sorry, I don’t do much marking with styles, hence why I got confused with your first post. You had talked about style marking then jumped to the mark function (different) but I didn’t notice that, on a re-read I do now.

            So back to testing I cannot get the Ctrl + Shift + 0 to work. This was on 3 PC’s, as 2 PC’s are under work control and may have Group Policies applied which potentially adversely affect NPP I also tried another unaffected PC. So the result was always the same, the forward jump worked, but backwards never did. One work PC and the unaffected PC were both with a portable installation.

            So it would seem we have a problem, I won’t go so far as to say a bug, but it would seem, given @astrosofista test results there may be an environmental situation which prevents the backwards jump from working.

            Terry

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

              @guy038 said in Mark lines with blue balls and jump between them:

              but the Ctrl + Shift + 0 shortcut does not !?

              You are correct. This seems to be a long standing problem, discussed a few times BEFORE.
              I just tested again and it still does not work for me.
              It would be nice to have resolution to this, or more info if it works for some people and not others.

              artie-finkelsteinA 1 Reply Last reply Reply Quote 1
              • artie-finkelsteinA
                artie-finkelstein @Alan Kilborn
                last edited by

                @alan-kilborn
                just to chime in (Note: I’m still on Npp v8.1.9)-
                Ctrl+0 works for forward move to next mark
                Ctrl+Shift+0 doesn’t work for anything

                I also used Nir Sofer’s HotKeysList to verify there is no system level hot key assigned to Ctrl+Shift+0.

                1 Reply Last reply Reply Quote 2
                • Catrin BrooksC
                  Catrin Brooks
                  last edited by

                  You’re right, sir. I’ve heard about this before, and it seems to be a long-standing issue.
                  I just tried it again, and it doesn’t work.
                  A solution to this or additional information about why it works for some and not for others would be welcome.

                  1 Reply Last reply Reply Quote 0
                  • Alan KilbornA
                    Alan Kilborn @Terry R
                    last edited by Alan Kilborn

                    @Terry-R said in Mark lines with blue balls and jump between them:

                    I cannot get the Ctrl + 0 or Ctrl + Shift + 0 to work.

                    I could not get them to work either, with my new Windows 11 PC…until I unmapped something Windows had “conveniently” mapped for me. I did this, in Windows:

                    Settings > Time & Language > Language & region > Typing > Advanced keyboard settings > Input language hot keys > Advanced Key Settings > Hot keys for input languages > Action > Between input languages > Key sequence (set it to None)

                    And, after that, both Ctrl+0 and Ctrl+Shift+0 worked in Notepad++.

                    1 Reply Last reply Reply Quote 3
                    • guy038G
                      guy038
                      last edited by guy038

                      Hello, @alan-kilborn,

                      Pleased that your Ctrl + 0 and Ctrl + Shift + 0 shortcuts work fine, from now on, for you !

                      As for me, I still cannot get the previous bookmarked line with the Ctrl + shift + 0 shortcut, on my Widow 10 laptop, with N++ v8.5.4 portable installed :-((

                      When I open the Settings window, I can go to the Heure et langue section ( which seems identical to the first choice Time & Language )

                      6701df0b-e9b1-4bb4-b88f-05678efbb46c-image.png

                      But, at this point, I’m quite lost :

                      I personally see this screen, below. But, seemingly, you see a Language & region option, on the left side :

                      2a09e551-7998-4ca7-bce5-efbafa456ade-image.png

                      I suspect that it’s because, in the language part, below, I just have one language installed ( Français 'France ) and you probably have more than one installed in your Windows 11 installation ?

                      25cfa04a-cade-4043-b9f2-0222406b0e98-image.png

                      On the other hand, as I do not have any shortcut to switch between two Input languages, it should not interfere with Notepad++ at all and I should be able to use the cttl + Shift+ 0 shortcut !


                      Thus, Alan, could you show us, by screenshots, the first steps to do ?

                      May be, I’ll neeed to install the English (United States) language to get options similar to yours ! However, it seems paradoxal to install something… in order to suppress an unwanted behaviour !

                      Best Regards,

                      guy038

                      CoisesC Alan KilbornA 2 Replies Last reply Reply Quote 0
                      • CoisesC
                        Coises @guy038
                        last edited by Coises

                        @guy038 Try clicking the “Clavier” icon that’s in your last screenshot. The dialog that raises should have a link labeled something that translates to “Input language hot keys.”

                        If that doesn’t explain it — is the key above and just to the left of P on your keyboard à — requiring Shift to produce 0? If so, it’s possible that the way Notepad++ is reading the keystrokes to produce an accelerator is seeing Ctrl[+Shift]+`a instead of Ctrl[+Shift]+0. I haven’t yet looked at the code to see if I can tell if that would be so.

                        1 Reply Last reply Reply Quote 0
                        • guy038G
                          guy038
                          last edited by guy038

                          Hello, @alan-kilborn, @coises and All,

                          Yes, @coises, you were right about it ! When I clicked on the clavier icon, I got this screen :

                          e81ee672-8cfc-4d45-bdd8-4d26ed067057-image.png

                          However, ( I cannot be sure ) it seems that, before, I did hit that icon and that I did not see the two options :

                          • Options de la barre de langue

                          • Touche de raccourci de langue d'entrée

                          I must add that, at one moment, I tried to see what happens when you click on the Ajouter une langue option ( Refer the end of my previous post ) Well, you get this new screen and after choosing the Anglais (United States) option, I finally see this screen about installing this new language, that I DID NOT confirm ! May be, this abortive action was enough to enable the two options above ?

                          a1e28827-4b50-4cb1-802e-ef2b313707f2-image.png

                          93dab84e-acdb-4c45-a8f6-7a2d35415c1e-image.png


                          Anyway, after clicking on the Touche de raccourci de langue d'entrée I saw this window and after clicking on the Modifier... button, this small window appeared. As I seemed concerned with the Changer la disposition du clavier, I simply chose the Non assigned option, ( instead of Ctrl + Maj option and valid all the windows.

                          3a236c7a-21fd-4619-b52c-e4fdec1e1a9a-image.png

                          After restarting N++, everything was OK ! The funny thing is that I tried to put back the Ctrl + Maj option, for the keyboard layout, and, surprise, everything was still OK ??? I even stop and restart my laptop and it still worked fine !


                          Conclusion : I can’t remember, for sure, of the set of actions really done ! I’ve just noticed that, when you hit the Ctrl + shift + 0 shortcut, after some consecutive Ctrl + 0 hits, the caret move, first, from the end of current marked word to its beginning, then move back to the beginning of previous word and so on… !

                          Anyway, as we say in French : Tout est bien qui finit bien !

                          Best regards,

                          guy038

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

                            @guy038 said in Mark lines with blue balls and jump between them:

                            Thus, Alan, could you show us, by screenshots, the first steps to do ?

                            I could (and will if you really want it), but I suspect that Windows has diverged so much in what it looks like (around the world) that doing so is of dubious value. I think it has already been shown (to me) how different your (admittedly Win10) setup appears.

                            Conclusion : I can’t remember, for sure, of the set of actions really done !

                            Yes, it does seem to get confusing in a hurry! :-)

                            when you hit the Ctrl + shift + 0 shortcut, after some consecutive Ctrl + 0 hits, the caret move, first, from the end of current marked word to its beginning, then move back to the beginning of previous word and so on… !

                            And that’s how it is supposed to work, correct?

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