Zulip Chat Archive
Stream: new members
Topic: effect insert_text move cursor
Angela Li (Dec 31 2020 at 23:22):
Hello! Is there a way for effect.insert_text
to move the cursor after the inserted text? I tried reveal_position
but I don't think it did anything.
I tried to make clicking for Fifteen (https://github.com/SnobbyDragon/leanfifteen) and it kinda works but you can't see the move unless you click back into the proof.
Thanks!
Bryan Gin-ge Chen (Dec 31 2020 at 23:57):
I don't think it's possible yet, but https://github.com/leanprover/vscode-lean/pull/234 should make it work. Unfortunately, that depends on lean#501 which also has to be reviewed.
cc: @Edward Ayers (sorry if these pings are getting annoying, Ed!)
Edward Ayers (Jan 01 2021 at 16:55):
No they are not getting annoying Bryan don't worry!
Edward Ayers (Jan 01 2021 at 16:56):
Yes for some reason that PR is stalled but it is all in the PR
Edward Ayers (Jan 01 2021 at 16:57):
I set up a thing that gives a notification whenever someone says widget but it doesn't always work!
Last updated: Dec 20 2023 at 11:08 UTC