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

Function "s:UI.getLineNum()" doesn't always work on cascades. #882

Merged
merged 20 commits into from
Sep 13, 2018

Conversation

lifecrisis
Copy link
Contributor

Fixes #529.

This was complicated as it involved refactoring a fairly complex function. This function has now been rewritten, and the style and logic are much cleaner, IMHO.

It's a very fundamental feature of the NERDTree that is used all over the place. So, we shouldn't treat this change without care. I suggest we use this for a while so that we can confirm that it works.

Let me know what you think. Each commit is very specific, so you can see what I did at each step.

Copy link
Member

@PhilRunninger PhilRunninger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far, so good. I verified that it solves the reported issue. I'll continue using it for a while, and monitor it for any side effects.

@lifecrisis lifecrisis merged commit e9d3f72 into preservim:master Sep 13, 2018
@lifecrisis lifecrisis deleted the put-cursor branch September 13, 2018 12:39
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.

2 participants