Dyalog / ride

Cross-platform IDE for Dyalog APL
https://dyalog.github.io/ride
MIT License
202 stars 31 forks source link

In the tracer FD wraps but BK doesn't #450

Open JohnScholes opened 6 years ago

JohnScholes commented 6 years ago

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).

dyaandys commented 6 years ago

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 ..

JohnScholes commented 6 years ago

JD says: I can’t remember [why] we made them different in the ODE, but it was definitely on purpose.

e9gille commented 6 years ago

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).

abrudz commented 2 years ago

See Mantis 14716.