monome / maiden

web based editor and repl for norns
GNU General Public License v3.0
47 stars 33 forks source link

add ctl/cmd-8 keybinding to eval selection #150

Closed ngwese closed 5 years ago

ngwese commented 5 years ago

simple feature to allow the current selection in the editor to be sent to the repl for evaluation.

ngwese commented 5 years ago

never mind - need to rework this to eval the whole selection as a single block not line by line.

ranch-verdin commented 5 years ago

Yeah that's right, think you can just replace all newlines with spaces and eval the whole thing.

ngwese commented 5 years ago

never mind. what i thought was broken is actually ok. the <incomplete> lines in the repl are matron doing its thing and correctly building up multiline statements to be evaluated.