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
{{ message }}
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
If you somehow end up in a situation with \nat (not yet autocompleted) in the middle of a line, such as while editing the tutorial snippets, like;
foo \nat bar baz
and then move your cursor to the end of \nat and press space, your cursor ends up where it would have had you the \nat -> ℕ autocompletion had not occurred, which can be really annoying.
I tried to fix the problem, but I don't really know anything about Monaco. I think we might need to somehow obtain a reference to the monaco editor instance within checkInputCompletion(), and call executeEdits() on the editor instead of applyEdits() on the model.
The text was updated successfully, but these errors were encountered:
RaitoBezarius
pushed a commit
to RaitoBezarius/lean-web-editor
that referenced
this issue
Oct 30, 2021
If you somehow end up in a situation with
\nat
(not yet autocompleted) in the middle of a line, such as while editing the tutorial snippets, like;and then move your cursor to the end of
\nat
and press space, your cursor ends up where it would have had you the\nat
->ℕ
autocompletion had not occurred, which can be really annoying.I tried to fix the problem, but I don't really know anything about Monaco. I think we might need to somehow obtain a reference to the monaco editor instance within
checkInputCompletion()
, and callexecuteEdits()
on the editor instead ofapplyEdits()
on the model.The text was updated successfully, but these errors were encountered: