1. Bitbucket
  2. Public Issue Tracker
  3. master

Issues

Issue #3873 wontfix

Wrap long source lines when viewing commits/side-by-side diff

Phil ​
created an issue

Viewing diffs/commits for text files that have changes on very long lines (such as TeX that isn't hard-wrapped) is cumbersome without line wrapping.

It would be helpful if there was an option to toggle line wrapping for the commit and side-by-side diff views.

Comments (8)

  1. Nicolas Venegas

    Hi

    Our diff views are built on a grid of lines that allows us to lazily load diff content, so wrapping long lines is not an option since that would break the grid.

    For side-by-side mode, you can get wider lines by maximizing your browser before clicking the side-by-side button.

    Regards

    Nicolas

  2. Jose Aumentado

    Nicolas-- I know it's 'easier,' but it really is more useful for a lot of people. Maximizing the browser isn't exactly great in terms of workflow for a lot of people. I'm running into the same issue now with LaTeX. It is common to have long paragraphs without a newline character inserted.

    This issue, plus the fact that the bitbucket interface won't display PDFs, make the interface less useful in a really compelling use case (collaborating on documentation, books, scientific papers, etc.). I hope the official Bitbucket response to this doesn't stay 'meh'!

  3. Log in to comment