idekeyboard-shortcutsread-eval-print-loopapldyalog

How can I get the last input expression in Dyalog APL?


I know I can re-execute lines by putting my text cursor on a previously entered line and pressing Enter, but sometimes the output is long and I am wondering if there is a keyboard shortcut to recall previously executed expressions to the bottom of the session log.


Solution

  • Yes. By default, both Windows IDE and the cross-platform RIDE interface have Ctrl+Shift+Backspace assigned to do exactly that. You can press it multiple times to navigate further back in the input history, and Ctrl+Shift+Enter to navigate forwards again.

    If you don't like these shortcuts, you can customise them: Click the keyboard icon in the language bar (⌨), then find the BK and FD codes. For each one, click in the field on the right, and press the desired keystroke or combo.