atom/github

Windows: Toggle Invisibles does not work when viewing differences.

Opened this issue · 0 comments

rsese commented

From @starrychloe on July 1, 2018 21:15

Prerequisites

Description

Using CTRL+SHIFT+P+INVISIBLES to toggle showing non-printing characters doesn't work in the diff view when viewing differences for files. Oh yeah, it doesn't work if you click "Show Invisibles" in settings either.

image

Steps to Reproduce

  1. Edit a file and save. It seems Atom is mucking up any lines with spaces even if you don't touch that line, but if not, add or remove spaces or tabs from a line.
  2. View the Git changes for staged/unstages files and click on a file to view the diffs.
  3. Try to view the space changes by toggling 'Show Invisibles' option ("Show Non-Printing Characters" in other editors).

Expected behavior: [What you expect to happen]
I expected to see the spaces and tabs in the diffs.

Actual behavior: [What actually happens]
Nothing happened.

Reproduces how often: [What percentage of the time does it reproduce?]
100%

Versions

1.28.0
Windows 8.1

Copied from original issue: atom/git-diff#153