auto prediffer

Main development forum.

Re: auto prediffer

Postby kimmov » Wed Jan 07, 2009 7:02 pm

Hmm. I can certainly live with one additional control in plugins list dialog... But modifying Open-dialog is out of question.

I've no idea how that could/should work, but adding the control to the dialog (IDD_PLUGINS_LIST) is not hard to do. Just remember couple of things:
  • WinMerge is translated application, so there must be enough spare space for texts for controls
  • if you edit Src/Merge.rc with Visual Studio you must revert other changes VS does to the file. Submit as patch ONLY the needed change to dialog. Usually this is easiest to do like this:
    • take a copy of the original Merge.rc file
    • do changes with Visual Studio (compile, test...)
    • merge needed change from edited file to the original (copied) file and submit that as a patch
  • all user visible strings must in resources, none in the code
Posts: 562
Joined: Thu Sep 11, 2008 8:51 pm
Location: Finland

Re: auto prediffer

Postby matthias1955 » Mon Feb 23, 2009 6:04 pm

I changed my mind. In WM is allready a variable g_bPredifferMode.
This is exact doing what i want.
Posts: 162
Joined: Wed Dec 17, 2008 1:55 pm


Return to Developers

Who is online

Users browsing this forum: No registered users and 2 guests