Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compare one-line file #1972

Closed
ujos opened this issue Aug 7, 2023 · 2 comments
Closed

Cannot compare one-line file #1972

ujos opened this issue Aug 7, 2023 · 2 comments

Comments

@ujos
Copy link

ujos commented Aug 7, 2023

I cannot compare one-line file. Application does not show the line on the Diff pane.

Steps to reproduce:

  1. Start the WinMerge app
  2. Press Ctrl+N
  3. Write for example "1" on the left side and "2" on the right side.
  4. Press F5. Both left and Right files are highlighted with Yellow color as they are different.
  5. Press Alt+Down

Expected:
The first line is highlighted and the content of the first line had appeared on the Diff pane

In fact:
The Alt+Down shortcut is disabled. No content is displayed on the Diff pane.

WinMerge Version: 2.16.32
Platform: Windows 10

@ujos ujos changed the title Cannot compare the first line of the file Cannot compare one-line file Aug 7, 2023
@sdottaka
Copy link
Member

sdottaka commented Aug 7, 2023

As a workaround, pressing the Alt+Enter key will display the current differences in the Diff pane.

@sdottaka
Copy link
Member

sdottaka commented Aug 9, 2023

Fixed in commit 57cbbaf
Thank you for your report.

@sdottaka sdottaka closed this as completed Aug 9, 2023
@sdottaka sdottaka added this to the v2.16.33 milestone Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants