Closed DanielFGray closed 2 years ago
That's a bug (for bg
, for focus
I think it works).
One work-around at the moment is to use comment annotations:
```js src/index.js
// bg
function lorem(ipsum, dolor = 1) {
const sit = ipsum == null && 0;
// bg(1:2)
dolor = sit - amet(dolor);
return sit ? consectetur(ipsum) : [];
}
// bg(1:4) green
function adipiscing(...elit) {
console.log(elit);
return elit.map((ipsum) => ipsum.sit);
}
```
:rocket: Issue was released in v0.3.0
:rocket:
I was trying to use multiple ranges in a bg/focus attribute, I tried this:
but I get the error
Error: Invalid number "7,12" in focus string
.Am I using the wrong syntax or is this not yet supported?