protorepl

danp 2017-07-24T07:52:53.757654Z

If I'm working in the REPL, is there a way to navigate between the previously executed forms other than simply pressing up to go through the list in the bottom/last cursor position?

danp 2017-07-24T07:54:13.782538Z

As in, can we move the cursor up and down through the historically run code, and back down to the bottom position where the current form can be run?

danp 2017-07-24T07:54:30.788201Z

Apologies if the question is ambiguous - have tried to word it as best as possible 🙂

seancorfield 2017-07-24T16:09:10.765821Z

@danp Not sure what you're asking...

danp 2017-07-24T18:13:19.001998Z

@seancorfield - in the Proto-REPL pane, on evaluating a form after it returns, the evaluated form shifts up the pane whilst the cursor keeps focus on the bottom-most part of the pane. I know I can click previous forms, edit them, and copy them to the bottom-most cursor, but I was wondering if there was a keyboard shortcut for moving up and down through previously evaluated forms. I know I can use the up/down arrows for moving through history when in the bottom-most part of pane, but this replaces any editing I've done. So in short a way of moving between the visible, previously run forms without using the mouse.

seancorfield 2017-07-24T18:16:15.100906Z

I guess I still don't understand... you can up/down arrow, change the form, then evaluate it.

seancorfield 2017-07-24T18:17:58.160197Z

When I'm working in the REPL, I'll typically type in a form, evaluate it, press up arrow to get that form again, edit it, evaluate it, rinse and repeat. All the edited forms are in the history so I can get to anything I previously typed. I can branch by editing a form in a different way and proceeding down that path.

danp 2017-07-24T19:13:40.025104Z

Cheers - I guessed I was trying to work in a strange way, but just wasn't sure how strange!