-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Implicit "Clear Compare" when trying to compare a file to itself in single view mode #53
Comments
Hello @xylographe , Sounds fair, OK. BR |
Fixed in master to always disregard BR |
Hello Pavel,
I'm not sure… Suppose the focal file is the leftmost file, then perhaps it was the Personally, I wouldn't mind "disregarding Alt-F always…", other CP users may be of different opinion. :) |
Hello @xylographe , Then I'll keep it that way - disregard BR |
Thank you, Pavel. That was quick! :) I tested CP db01d49. I think, the new behaviour ("always disregard" in single view, "alert" in double view) is a good solution to the prematurely typed |
Hello @xylographe , It now actually disregards BR |
Oops, my mistake. I think, I know what happened yesterday: I must have pressed Having examined the double view situation a little better this morning, I'm sure, it won't be a problem in double view, because both files are visible, so you get a compare between those two files, as you would expect. |
OK then, thanks. BR |
Hello Pavel,
Scenario: I triggered "Clear Compare" while comparing focal file F to some other file A. Now I'm back in single view, and I want to compare F to B. I automatically press
Alt-F
, but when I look at the tab bar to locate file B, I notice that B is the adjacent file. ATM pressingAlt-D
will open a message box telling me, I cannot compare a file to itself. I think, in this situation it is rather obvious that I don't want to compare F to F, but F to adjacent file B.Therefore, I suggest, that CP will perform an implicit "Clear Compare" (pretend the
Alt-F
didn't happen) iff NPP is in single view mode, and the focal file is not the leftmost file in that single view. In any other case CP's behaviour shall remain the same (message box).The text was updated successfully, but these errors were encountered: