mirror of
https://codeberg.org/uzu/strudel
synced 2026-08-11 08:16:46 -04:00
move evaluate/evaluateBlock to different functions
This commit is contained in:
@@ -44,7 +44,7 @@ export const evalBlock = (strudelMirror) => {
|
||||
if (block) {
|
||||
// Flash the block being evaluated
|
||||
strudelMirror.flash(200, { from: a, to: b });
|
||||
strudelMirror.repl.evaluate(block, true, true, { range });
|
||||
strudelMirror.repl.evaluateBlock(block, true, { range });
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user