ride
ride copied to clipboard
In the tracer FD wraps but BK doesn't
Describe the issue you are having
In the tracer, BK and FD (Ctrl+Shift+Backspace and Ctrl+Shift+Enter) move the next-line-to-be-executed backwards and forwards. FD wraps from the last line in the function to the first line but BK sticks at the first line.
I would prefer they both stick (don't wrap) but if one wraps, so should the other. Otherwise, if you accidentally wrap with a FD from bottom to top, you can't easily recover just by keying BK.
The oppoiste is true of the ODE!
(Personally, I prefer they both stick, so that I can get to the top/bottom of the function just by leaning on the BK/FD key until it sticks).
I think I'd like to understand why this decision was made in the ODE before we change it in either RIDE or the ODE ..
JD says: I can’t remember [why] we made them different in the ODE, but it was definitely on purpose.
As I mentioned in https://github.com/Dyalog/ride/issues/230#issuecomment-340398800 the ODE and RIDE seems to be limited on opposite ends (RIDE wraps bottom to top where ODE wraps top to bottom, even if the commands are issued to the interpreter and you'd expect it to do it consistently).
See Mantis 14716.