f5 run...go to next line or next character?
-
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?
-
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.)
-
@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)?
-
@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
-
@PeterJones Almost certainly true. Thanks. npptoR has not been updated since 2016.