44 Commits

Author SHA1 Message Date
Felix Roos
e408fedaf6 format 2024-05-30 09:34:46 +02:00
Felix Roos
d424b118ff add a few helpers 2024-05-30 09:34:31 +02:00
Felix Roos
4e7f5e9cda add closeBrackets setting 2024-03-29 17:07:48 +01:00
Felix Roos
04a0952a22 simplify draw plumbing 2024-03-28 06:25:24 +01:00
Felix Roos
6b98e414c6 make onPaint work with mutiple repls on screen
+ add warning if stock onPaint is not overloaded
2024-03-19 08:44:05 +01:00
Felix Roos
29dab578e7 can now load claviature as a codemirror widget 2024-03-14 23:49:38 +01:00
Felix Roos
0f07bfc9d7 rename: canvas -> draw 2024-03-07 13:24:52 +01:00
Felix Roos
6ce8a3feba move draw logic to separate package 2024-02-29 22:14:53 +01:00
Felix Roos
7557952155 format 2024-02-25 13:17:52 +01:00
eefano
8af40a9c61 added <> for mininotation 2024-02-22 23:35:00 +01:00
eefano
f54aa3d823 'Enable Bracket Matching' option in Codemirror 2024-02-22 22:04:57 +01:00
Felix Roos
96bafa7f0b the big rename: @strudel.cycles/* -> @strudel/* 2024-01-18 09:54:37 +01:00
Felix Roos
bcee6632af fix: invisible selection on vim + emacs mode 2024-01-06 15:21:58 +01:00
Felix Roos
2ed3a5c582 fix: lint 2023-12-28 20:36:59 +01:00
Felix Roos
a9dc0912d0 fix: drawer performance issue 2023-12-28 17:54:51 +01:00
Felix Roos
39e81aa77c reduce drawTime to fix perf (for now) 2023-12-27 12:46:10 +01:00
Felix Roos
f524dde5ae tooltip without react + simplify autocomplete 2023-12-26 18:03:58 +01:00
Felix Roos
47aa4cf198 autocomplete without react 2023-12-26 17:56:07 +01:00
Felix Roos
53484db768 style fixes + remove lastShared state 2023-12-26 00:29:43 +01:00
Felix Roos
e19f799046 wire up settings and theming 2023-12-25 20:52:00 +01:00
Felix Roos
e8e8f888dd fix: stop other repls on start 2023-12-25 15:21:54 +01:00
Felix Roos
ed8f5bf24f fix: first frame 2023-12-17 22:51:43 +01:00
Felix Roos
b462f19ef1 fix: boolean settings 2023-12-17 21:28:25 +01:00
Felix Roos
1cdb5964c6 settings sync 2023-12-17 21:16:29 +01:00
Felix Roos
40f3212efa fix: first frame active state 2023-12-16 17:04:08 +01:00
Felix Roos
c29d032027 add autodraw flag 2023-12-16 16:19:18 +01:00
Felix Roos
7fcd9d8a83 approaching proper draw logic in microrepl 2023-12-16 16:14:40 +01:00
Felix Roos
9c13f6bb53 fix: mini repl play toggle button 2023-12-15 23:20:21 +01:00
Felix Roos
93e8186388 MicroRepl poc 2023-12-15 22:23:20 +01:00
Felix Roos
034df01e1f better theme style handling 2023-12-15 11:23:10 +01:00
Felix Roos
f0c3d38ea7 move repl web component to new repl package
+ use it in /vanilla + /vanilla/mini
2023-12-15 10:12:47 +01:00
Felix Roos
a8d0d39055 fix: improve last fix by using Prec.highest 2023-12-15 00:07:08 +01:00
Felix Roos
29082808cb fix: make canvas visible
- automate editor background handling
2023-12-14 23:00:18 +01:00
Felix Roos
d23cac506c fix: fontFamily setting 2023-12-14 22:51:17 +01:00
Felix Roos
60e559a910 add /vanilla route to website
+ disable autocomplete for now
2023-12-14 14:38:10 +01:00
Felix Roos
72d1f129cf add settings form to codemirror example 2023-12-14 11:29:33 +01:00
Felix Roos
9474ed7d85 dedicated strudelmirror example 2023-12-14 10:37:16 +01:00
Felix Roos
87feac447b - make codemirror package more capable
- add themes from react package
- add Autocomplete from react package
- handle dynamic extensions
- handle keyboard shortcuts
- make StrudelMirror as capable as Repl
2023-12-14 09:42:25 +01:00
Felix Roos
34176ab5f8 refactor:
- dedupe flash / highlighting logic
- codemirror logic now lives only in codemirror package
- remove old highlighting logic
- use codemirror package in react package
- cleanup CodeMirror6.jsx
- pull setMiniLocations into useHighlighting
- migrate MiniRepl, nano-repl + Repl to new highlighting
2023-07-04 21:49:39 +02:00
Felix Roos
dc2ff83fa5 do not flash when empty 2023-06-30 22:38:14 +02:00
Felix Roos
8c9e06c329 - clip now works like legato in tidal
- supports floats
- hap.duration now respects clip value
- hap.endClipped is now end*clip
- visualizations show clipped length
- clip(0) will now be silence
2023-06-12 22:39:32 +02:00
Felix Roos
9ec7109dc8 + simplify vanilla setup drastically
+ move repl + drawer boilerplate inside StrudelMirror
2023-05-05 23:43:07 +02:00
Felix Roos
b5b0156e08 fix: codemirror reeval 2023-05-05 15:31:04 +02:00
Felix Roos
f5075906e2 add codemirror package
+ use it in vite-vanilla-repl-cm6
2023-05-05 15:13:17 +02:00