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
This commit is contained in:
parent
08abec8fd5
commit
0b5d905120
9 changed files with 108 additions and 110 deletions
|
|
@ -220,7 +220,7 @@ export function Repl({ embedded = false }) {
|
|||
/*
|
||||
stack(
|
||||
s("bd"),
|
||||
s("hh oh*<2 3>")
|
||||
s("hh oh*<2 3>")
|
||||
)
|
||||
*/
|
||||
updateMiniLocations(view, [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue