Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-13725

Diff view: Show whitespace should display a different symbol for tabs

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • General
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      If the "Show whitespace" option is turned on, diff view displays dot symbols for both tabs (four dots) and spaces. If the identation in the file is changed from tab to spaces (and 4 spaces are used for each tab), the user cannot see the whitespace change.

      I'd suggest to replace tab with "»" plus (tab size - 1) spaces (3 for tab size 4), so the alignment stays the same.

      Example (tab size = 4):

      »   line with one tab
      »   »   line with two tabs
      »   »   »   line with three tabs

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            a7ba0b1ab6f0 Christian H.
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: