GNOME Bugzilla – Bug 602873
[Feature request] Button/key shortcut to move to the next conflict
Last modified: 2010-09-30 21:44:26 UTC
I use meld in combination with git-mergetool to merge branches and resolve conflicts. I would be nice if there was a button and a key board shortcut to move the the next conflict after I fix one. I would also be cool if meld does not let you exit until you have resolved all conflicts. Thanks Sami
Sounds reasonable, though not as easy as one might like. I'll see if I can add support for this under the cursor-position patch.
Created attachment 169869 [details] [review] Add next and previous conflict buttons
I gave this a quick try and it works for me. If we could have slightly different icons for the new buttons that would be great. Thanks for the work!
Created attachment 170961 [details] [review] Patch Thanks for the patch. Unfortunately, this is one of those situations where I knew it should be done in a particular way, and just hadn't gotten around to it. The patch I'm attaching should have the same functionality as your version, but it operates in the same way as the rest of our cursor-related functionality and has a couple of minor advantages (notably, that we because we maintain a list of conflicts in Differ, we can do things like display the conflict count, and show which conflict we're in, etc.). Testing would be appreciated.
I've pushed the above patch to HEAD, so I'm closing this. If you find any problems, please don't hesitate to file a new bug.