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

Fix undo cursor position bug #610

Merged
merged 1 commit into from
Aug 13, 2023
Merged

Conversation

kkoomen
Copy link
Owner

@kkoomen kkoomen commented Aug 13, 2023

Using %!tree will jump the cursor to the top of the file, thus when generated a comment and then pressing u, it will jump the cursor back to the top of the file. Using writefile() solves the problem.

Fixes #309

@kkoomen kkoomen self-assigned this Aug 13, 2023
@kkoomen kkoomen merged commit 8b0c8d3 into master Aug 13, 2023
13 checks passed
@kkoomen kkoomen deleted the feature/fix-undo-cursor-position-bug branch August 13, 2023 07:49
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

Successfully merging this pull request may close these issues.

Undo resets cursor position at the top of the file
1 participant