Community
    • Login

    f5 run...go to next line or next character?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 990 Views 2 Watching
    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.
    • ddalthorpD Offline
      ddalthorp
      last edited by

      I just installed the latest npp (8.6.4), and the behavior of F5 “Run” has changed. It properly sends the command to R (which is what I do most of my programming in), but then it doesn’t advance the cursor to the next line as it used to do for me. Now, it just moves the cursor ahead one character. Extremely inconvenient.

      Any ideas for restoring the original behavior of F5 to bring up the next line instead of the next character?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @ddalthorp
        last edited by

        @ddalthorp

        F5 “Run” doesn’t inherently “advance” anything – next character or next line – in the Notepad++ environment; it runs an external process. It’s always done thus,

        Do you have an example command that you run using F5, which someone else could try using older NPP vs 8.6.4, which will show the difference? If all you have is one using R, then so be it (though there will be fewer who would have that environment to be able to replicate, so you might have to wait a long time until someone can replicate), but if you have an example that runs a command that anyone would have (some basic cmd.exe command, for example) could replicate, and that would cause Notepad++ to behave differently in older (be specific about the version tried) vs 8.6.4. (You can always use a portable of the “older” version, so you don’t have to uninstall 8.6.4 to do the comparison on your end.)

        ddalthorpD 1 Reply Last reply Reply Quote 1
        • ddalthorpD Offline
          ddalthorp @PeterJones
          last edited by

          @PeterJones
          I used to be able to hit F5 to send a command to R, and the cursor would automatically move to the next line in NPP, so I could hit F5 again to run the next line. After updating, I can no longer do that because to cursor in NPP moves to the next character instead of the next line.

          v8.6.2 and 8.6.1 do the same thing.
          v8.6 and 8.5.8 do not.

          Maybe the problem is in the NPP-R interface software I use (NpptoR)?

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP Offline
            PeterJones @ddalthorp
            last edited by

            @ddalthorp said in f5 run...go to next line or next character?:

            Maybe the problem is in the NPP-R interface software I use (NpptoR)?

            Since, as I said before, F5 does not itself move the cursor, that’s almost definitely the culprit. Whether it is a plugin, or an external wrapper application, it may not have stayed up to date with the most recent plugin/messaging interface that Notepad++ uses

            ddalthorpD 1 Reply Last reply Reply Quote 1
            • ddalthorpD Offline
              ddalthorp @PeterJones
              last edited by

              @PeterJones Almost certainly true. Thanks. npptoR has not been updated since 2016.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors