Murmele / Gittyup

Understand your Git history!
https://murmele.github.io/Gittyup
MIT License
1.37k stars 107 forks source link

Enable line wrapping #709

Closed jensenr30 closed 3 months ago

jensenr30 commented 3 months ago

Line wrapping can be enabled/disabled with a setting in Tools->Options->Diff->Wrap Lines. This closes #706.

All credit to Scintilla.

This addresses the second half of #514. The second half of issue 514 was: bad user experience when scrolling down through the DiffView. But with line wrapping enabled, the horizontal scroll bars disappear. That prevents the mouse scroll wheel from being captured by the horizontal scroll bar.

Demo:

wrap-lines.webm

wrap-lines-scroll.webm

Murmele commented 3 months ago

Thank you very much for the change!

Can you add an entry to the changelog: https://github.com/Murmele/Gittyup/blob/master/docs/changelog.md You can add your gif also to the website when you add an entry at: https://github.com/Murmele/Gittyup/blob/master/docs/index.md.

jensenr30 commented 3 months ago

@Murmele

Can you add an entry to the changelog: https://github.com/Murmele/Gittyup/blob/master/docs/changelog.md You can add your gif also to the website when you add an entry at: https://github.com/Murmele/Gittyup/blob/master/docs/index.md.

Done! I recorded a better video for the website:

line-wrap-demo-2.webm

Murmele commented 3 months ago

Thanks I hope I can have a look into it next days.