Author Topic: feature request : shortcut keys in diff  (Read 1288 times)

Graeme

  • Senior Community Member
  • Posts: 2827
  • Hero Points: 347
feature request : shortcut keys in diff
« on: September 22, 2021, 06:09:46 AM »
In the diff window, how about allowing Ctrl Down and Ctrl Up as shortcuts for next diff, previous diff.  Easier to use than Alt N and Alt P.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2929
  • Hero Points: 153
Re: feature request : shortcut keys in diff
« Reply #1 on: September 22, 2021, 01:22:04 PM »
You can bind diff-next-diff and diff-prev-diff to any key, and then those will work in DIFFzilla.

Graeme

  • Senior Community Member
  • Posts: 2827
  • Hero Points: 347
Re: feature request : shortcut keys in diff
« Reply #2 on: September 22, 2021, 10:59:18 PM »
Thanks, I had to set the mode of the binding to diff-mode to stop it affecting the normal binding I have.

I discovered something odd - if I select two revisions and right click - "diff selected revisions" - I get a different diff dialog than if I select two revisions and click the toolbar button "diff selected revisions".  The "backup history version" means I have to click the mouse in the "source window" to get ctrl-down to work whereas the diffzilla pro window already has focus in the source and ctrl down works immediately.  The diffzilla pro window takes longer to come up though.

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: feature request : shortcut keys in diff
« Reply #3 on: September 22, 2021, 11:22:58 PM »
In what UI do you get to "diff selected revisions"?

This is something I'd really like to see in diff, but I've never been able to find this functionality.

Graeme

  • Senior Community Member
  • Posts: 2827
  • Hero Points: 347
Re: feature request : shortcut keys in diff
« Reply #4 on: September 22, 2021, 11:31:26 PM »
In the backup history tool-window.  View -> toolwindows -> backup history.
Then if you right click and select diff selected revisions you get a new window which also allows you to select the revision of the leftmost file which gets diffed against the next revision in the list.



jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: feature request : shortcut keys in diff
« Reply #5 on: September 22, 2021, 11:38:50 PM »
Wow!
I didn't know that .... I've always used File->BackupHistory...