You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 11 Pro 23H2
Pulsar 1.22.0 x64 (fresh install)
Note: No previous version of Atom installed on this system (its a new work laptop)
Observation:
Every attempt I've made to diff two files has resulted in highlighting that doesn't appear to make any sense. The results I'm seeing don't seem to follow a specific pattern 100% of the time, but usually I see a large block of green highlight starting at the top of the left pane file and a smaller number of lines, usually two, highlighted red starting at the top of the right pane file, even when these top sections of the files are identical.
Example:
Using a simple expect script as a test (hello1.txt), I made a copy (hello2.txt) that has two new lines inserted at lines 11 and 12 in hello2 and then three lines removed starting after line 34 in hello2 (lines 33-35 in hello1). The first 10 lines are identical. With hello1 in the left pane and hello2 in the right pane, split-diff highlights the first 10 lines on the left in green followed by a two-line grey gap corresponding to the two new lines on the right. On the right, the first two lines are highlighted red and the two new lines at 11 and 12 are not highlighted. Following this section of the files, rest of the differences appear to be highlighted correctly. (see screenshot)
Note: It appears that something is causing the algorithm to see a difference at the start of the files where one does not exist which appears to lead to nonsensical highlighting, but then seems to correct itself after a few legitimate differences are encountered.
The text was updated successfully, but these errors were encountered:
Platform:
Windows 11 Pro 23H2
Pulsar 1.22.0 x64 (fresh install)
Note: No previous version of Atom installed on this system (its a new work laptop)
Observation:
Every attempt I've made to diff two files has resulted in highlighting that doesn't appear to make any sense. The results I'm seeing don't seem to follow a specific pattern 100% of the time, but usually I see a large block of green highlight starting at the top of the left pane file and a smaller number of lines, usually two, highlighted red starting at the top of the right pane file, even when these top sections of the files are identical.
Example:
Using a simple expect script as a test (hello1.txt), I made a copy (hello2.txt) that has two new lines inserted at lines 11 and 12 in hello2 and then three lines removed starting after line 34 in hello2 (lines 33-35 in hello1). The first 10 lines are identical. With hello1 in the left pane and hello2 in the right pane, split-diff highlights the first 10 lines on the left in green followed by a two-line grey gap corresponding to the two new lines on the right. On the right, the first two lines are highlighted red and the two new lines at 11 and 12 are not highlighted. Following this section of the files, rest of the differences appear to be highlighted correctly. (see screenshot)
Note: It appears that something is causing the algorithm to see a difference at the start of the files where one does not exist which appears to lead to nonsensical highlighting, but then seems to correct itself after a few legitimate differences are encountered.
The text was updated successfully, but these errors were encountered: