94 Commits

Author SHA1 Message Date
Kaspars
ef14074164 add option to disable active line highlighting in Code Settings 2023-11-15 22:38:00 +01:00
Alexandre G.-Raymond
353333653f
Implement optional hover tooltip with function documentation 2023-11-05 13:00:54 +01:00
Felix Roos
638f5c7323 rename bindings key 2023-11-02 08:48:11 +01:00
Dsm0
0c2838cc90 fixed style issues 2023-11-01 17:55:40 -04:00
Dsm0
d4c12dcef4 integrated vscode bindings 2023-11-01 17:14:22 -04:00
Felix Roos
c051a1249d remove checkbox 2023-10-01 14:06:32 +02:00
Felix Roos
aa094bf930 checkbox + number slider 2023-09-29 10:40:00 +02: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
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