move evaluate/evaluateBlock to different functions

This commit is contained in:
Dsm0
2025-12-30 20:14:32 -06:00
parent 1a7f464998
commit 160ef84b47
4 changed files with 152 additions and 109 deletions
+1 -1
View File
@@ -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;