Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insert mode backspace issues #11

Open
knubie opened this issue Feb 17, 2022 · 1 comment
Open

Insert mode backspace issues #11

knubie opened this issue Feb 17, 2022 · 1 comment

Comments

@knubie
Copy link

knubie commented Feb 17, 2022

Sorry to be a bother but I've stumbled on another issue while daily driving the plugin. 😅

In this case using backspace while in insert mode seems to create some issues for the nested form. It looks as though at some point maybe the state is getting de-synced or something.

In the video below I'm using backspace in insert mode to move the vector back, but the inner vector seems to lag behind. Then when I hit u to undo, and o to insert a new line, it almost looks as if it is using some older state to calculate the new position of the inner vector.

parinfer_bug.mov

I also noticed some odd behavior when I put my cursor directly under the e in defn and hit dw, but I cannot reproduce that for a video.

Let me know if you need any more information from me.

@gpanders
Copy link
Owner

gpanders commented Feb 24, 2022

Thanks, I'll take a look at this.

The change tracking required to get smart mode working properly is quite tricky to get right, as you've noticed. I appreciate you filing these bug reports so that we can keep working out the kinks.

Hmm although in this case it looks like the change tracking is working as expected, so there is something else going wrong. Hopefully it's not a bug in the parinfer implementation itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants