File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1211
1211
:as print-options} :print-options
1212
1212
editor-reset-ref :editor-reset
1213
1213
visr-run-ref :visr-run
1214
- visual-syntax :visual-syntax }]]
1214
+ visual-syntax :visual-syntax
1215
+ :or {:visual-syntax true }}]]
1215
1216
(let [edit (atom nil )
1216
1217
visrs (atom {})
1217
1218
key (random-uuid )
1273
1274
(ocall doc :replaceRange stdlib/starter-visr pos)))
1274
1275
(fn [{:keys [menu input options file-changed current-file cursor scroll cache
1275
1276
cm-ref]
1277
+ :or {:visual-syntax true }
1276
1278
:as db}
1277
1279
& [{editor-ref :editor
1278
1280
for-print :for-print
1360
1362
(defn result-view [{:keys [output options]
1361
1363
:as db}
1362
1364
& [{repl-ref :editor
1363
- visual-syntax :visual-syntax }]]
1365
+ visual-syntax :visual-syntax
1366
+ :or {:visual-syntax true }}]]
1364
1367
(let [edit (atom nil )
1365
1368
cache (env/make-reset-editors-cache )
1366
1369
instances (atom [])
1404
1407
(fn [{:keys [output options]
1405
1408
:as db}
1406
1409
& [{repl-ref :editor
1407
- visual-syntax :visual-syntax }]]
1410
+ visual-syntax :visual-syntax
1411
+ :or {:visual-syntax true }}]]
1408
1412
[:> cm/UnControlled
1409
1413
{:value (string/join " \n " (filter string? @output))
1410
1414
:options (conj (env/codemirror-options db)
1475
1479
repl-ref :repl
1476
1480
visr-run-ref :visr-run
1477
1481
visual-syntax :visual-syntax
1482
+ :or {:visual-syntax true }
1478
1483
:as opts}]]
1479
1484
(let [search (js/URLSearchParams. js/window.location.search)]
1480
1485
(chonky/setChonkyDefaults
You can’t perform that action at this time.
0 commit comments