-
Notifications
You must be signed in to change notification settings - Fork 305
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
Remove LineIsMultiline in favor of multiline agnostic algorithms (#1125) #2047
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to elide the unneeded LineIsMultiLine()
check. I left a few comments.
ce03db3
to
da1faa9
Compare
@springcomp I apologize for taking so long to get back to this. |
No worries. I will address the changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @springcomp!
🎉 |
PR Summary
Fixes #1125.
This PR removes as many calls as possible of the method
LineIsMultiline()
where the underlying algorithm is already behaving consistently irrespective of the number of logical lines in the buffer.PR Checklist
Microsoft Reviewers: Open in CodeFlow