Skip to content

Fix formatter crash #815

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

Merged
merged 3 commits into from
Aug 22, 2017
Merged

Fix formatter crash #815

merged 3 commits into from
Aug 22, 2017

Conversation

kapilmb
Copy link

@kapilmb kapilmb commented Aug 22, 2017

The formatter used to crash because textedit extents were not compared correctly.

Also fixes a bug in UseConsistentWhitespace rule where it would try to find a violation on a binary operator if it is at the end of a line.

Kapil Borle added 3 commits August 18, 2017 19:13
Prior to the fix, any text editing action that tried to append text at the end of a line, would throw.
@kapilmb kapilmb merged commit 088b27b into development Aug 22, 2017
@kapilmb kapilmb deleted the kapilmb/fix-formatter branch August 22, 2017 23:40
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