You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making large changes to a document which makes it no longer compile (which I assume breaks incremental compilation?), each keystroke triggers a recompile - and they get queued up. If the document takes a while to compile, then it takes ages to get through the queue, because Typst tries to compile all the queued up edits (even though they're useless).
For example - right now I changed some function definitions in a fairly large document, and I needed to change some function calls to #sidenote(inline: false)[...]. After replacing a single call and looking in the Improve tab:
I first see an error about #sidenote(i) not being valid, because i is undefined.
It hangs for a while, presumably compiling the next revision.
I see an error about #sidenote(in) not being valid, because in is undefined.
It hangs for a while, presumably compiling the next revision.
[...]
The editor becomes pretty laggy during this too. I run into this surprisingly often... :(
Reproduction URL
No response
Browsers
Firefox
OS
Linux
The text was updated successfully, but these errors were encountered:
Description
When making large changes to a document which makes it no longer compile (which I assume breaks incremental compilation?), each keystroke triggers a recompile - and they get queued up. If the document takes a while to compile, then it takes ages to get through the queue, because Typst tries to compile all the queued up edits (even though they're useless).
For example - right now I changed some function definitions in a fairly large document, and I needed to change some function calls to
#sidenote(inline: false)[...]
. After replacing a single call and looking in the Improve tab:#sidenote(i)
not being valid, becausei
is undefined.#sidenote(in)
not being valid, becausein
is undefined.The editor becomes pretty laggy during this too. I run into this surprisingly often... :(
Reproduction URL
No response
Browsers
Firefox
OS
Linux
The text was updated successfully, but these errors were encountered: