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
dacd9afac0
comment out opacity logic for now
2023-07-04 18:34:22 +02:00
Felix Roos
3fc5bb31d0
fix: do not recreate haps mapping on update
2023-07-04 18:22:22 +02:00
Matthew Kaney
f5b092acf2
Split up highlighting logic and add progress flash
2023-07-03 17:06:39 -04:00
Matthew Kaney
aded178ab7
Pass mininotation locations into highlight state
2023-07-03 03:55:49 -04:00
Felix Roos
0b5d905120
fix: adaptive highlighting
...
- transpiler now uses m function with globalOffset
- patternifyAST now accepts global offset
- patternifyAST now calls .withLoc with global leaf location
- .withLoc replaces .withLocation + .withMiniLocation
- simple locs (offsets) are now used everywhere
- some tests fail, seems some haps have reordered...
- wip: Repl still uses hardcoded updateMiniLocations
- todo: find way to call updateMiniLocations dynamically
2023-07-03 05:15:32 +02:00
Felix Roos
63c23736ad
wip: adaptive highlighting
2023-07-02 18:33:44 +02:00
Felix Roos
bd8ad1ed1b
fix: out of range error due to rerender
2023-06-30 22:40:02 +02:00
Roipoussiere
f37a220a05
add checkbox in settings to enable line wrapping
2023-06-15 11:52:29 +02:00
Felix Roos
aa51c2b6dd
Merge remote-tracking branch 'upstream/main' into line_wrap
2023-06-15 10:59:52 +02:00
Felix Roos
665cf6ac65
Merge pull request #588 from roipoussiere/enable_autocomplete
...
enable auto-completion
2023-06-12 23:24:28 +02:00
Roipoussiere
5e09c3c318
add autocompletion extension from useMemo
2023-06-09 18:28:16 +02:00
Roipoussiere
8e6909478c
autocompletion: lint
2023-06-09 16:42:31 +02:00
Roipoussiere
2d2d0cabb3
Add option in settings to enable autocompletion
2023-06-09 16:38:48 +02:00
Roipoussiere
6f04a1b8fa
autocomplete: add vanilla js completion
2023-06-09 14:52:07 +02:00
Roipoussiere
a9ad3a56ad
autocomplete: avoid tabs overlapping
2023-06-09 14:30:20 +02:00
Roipoussiere
3069b14e9c
enable autocompletion
2023-06-09 13:41:40 +02:00
Felix Roos
3ccbd35fad
add label support to pianoroll
2023-06-09 00:25:54 +02:00
Felix Roos
02d793e9e0
Merge remote-tracking branch 'origin/main' into workshop-new
2023-06-07 20:19:34 +02:00
Roipoussiere
0c2147d9c5
repl: add option to display line numbers
2023-06-07 15:34:57 +02:00
Roipoussiere
b6d1f96930
editor: enable line wrapping
2023-06-06 13:29:55 +02:00
Felix Roos
d2dffe3186
MiniRepl: consume font settings
2023-05-28 12:42:15 +02:00
Felix Roos
fc06181217
- add claviature flag to minirepl
...
- bring back option+dot on macos
- consume more editor settings in minirepl
2023-05-27 13:30:57 +02:00
Felix Roos
0d6fcf78d8
hide mini repl headers + improve workshop
2023-05-26 16:05:53 +02:00
Felix Roos
82225f0b81
started workshop pages
2023-05-26 14:12:53 +02:00
Felix Roos
d3240a75d0
fix: dupe style.css to Repl.css
...
for some reason they were missing after update
+ darken line backgrounds
+ change preview port to keep workbox out of dev server
2023-05-12 11:56:50 +02:00
Felix Roos
d74cc234c4
fix: thinner outline for highlights with .color
2023-05-12 10:06:55 +02:00
Felix Roos
b88e0ecb78
fix: colorable highlighting
2023-04-22 15:25:00 +02:00
Felix Roos
73169563c4
fix period key for dvorak + remove duplicated code
2023-03-23 21:37:38 +01:00
Felix Roos
5de40b6bf5
fix disabled button take 2
2023-02-28 23:02:28 +01:00
Felix Roos
e9d577496b
fix disabled button
2023-02-28 22:48:06 +01:00
Felix Roos
18c7e02609
fix: minirepl styles for package
2023-02-28 22:40:18 +01:00
Felix Roos
7e1351507a
add variables to react tailwind config
2023-02-28 22:17:24 +01:00
Felix Roos
032acbd27c
comment out autocomplete
2023-02-28 22:11:17 +01:00
Felix Roos
0006d57a4a
move isZen to nanostore
...
+ correctly parse non strings in store
2023-02-22 22:47:33 +01:00
Felix Roos
b67b049802
refactor settings to nanostores
2023-02-22 22:04:39 +01:00
Felix Roos
ff99dbcd22
customizable font family
2023-02-22 20:28:22 +01:00
Felix Roos
632e8e9634
use css var for highlighting color
2023-02-19 20:03:12 +01:00
Felix Roos
1e3f09f69b
add some custom themes
2023-02-19 18:53:35 +01:00
Felix Roos
ceb3aa0627
add emacs mode + fontSize slider
2023-02-19 13:49:55 +01:00
Felix Roos
014555fe5d
add vim toggle to settings
...
+ added persistent global state store
+ refactored themes to use the new store
2023-02-19 01:51:31 +01:00
Felix Roos
18d3a7e23a
add vim extension (hard coded)
2023-02-17 10:41:49 +01:00
Felix Roos
0fb478a7c8
no autocomplete until upstream merge
2023-02-11 20:55:35 +01:00
Felix Roos
9694ecf55b
autocomplete dark / light
2023-02-11 13:02:04 +01:00
Felix Roos
fe80478b8a
Merge remote-tracking branch 'origin/main' into docs
2023-02-10 23:18:04 +01:00
Felix Roos
a500f983f5
Merge branch 'main' into themes
2023-02-10 22:59:52 +01:00
Felix Roos
3579b6f8f3
dynamic highlight color
...
+ refactor hooks
2023-02-10 22:52:34 +01:00
Felix Roos
14cb954213
themed minirepl
...
+ add strudelTheme
+ add lineBackground with opacity
+ add some missing light flags
+ add fallback css variables for non js context
2023-02-10 21:42:27 +01:00
Felix Roos
0b994a1b0f
switchable css variables for theming
2023-02-10 11:32:36 +01:00
Felix Roos
3209afa4ff
minirepl: add keyboard shortcuts
2023-02-09 19:20:44 +01:00