-
Notifications
You must be signed in to change notification settings - Fork 130
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
Appended extra lines in the bottom of Minimap #292
Comments
If you're able to write a test that trigger that behavior so that we can make sure that the fix you're proposing works as expected without breaking anything it'ld be great. |
I will add a test in few days. |
@abe33 |
As far as I can tell from your gif, the soft wrap is already enabled. But my guess is that you haven't a preferred line length defined. |
It defatuls to |
Maybe we can use |
I'm not sure to understand what you're talking about. In the gif you posted, the soft wrap is already enabled before splitting the pane, so testing |
It's working for me when commet these linnes https://github.com/atom-minimap/minimap/blob/master/lib/mixins/canvas-drawer.coffee#L440-L445. But I'm not clear. |
I'm not saying there is no issue, your gif is telling enough, but I'm cautious with untested changes like 'comment these lines and it works'. |
So I somehow figured what the cause was, it also seems I found a fix for that so I reopen this issue to keep track of the changes. |
I try to fix this.
Comment these lines: https://github.com/atom-minimap/minimap/blob/master/lib/mixins/canvas-drawer.coffee#L430-L435
And it isn't reproduce.
Note: Just only
READMe.md
file can reproduce it.The text was updated successfully, but these errors were encountered: