How do I make Beyond Compare ignore certain differences while comparing versions of Delphi Form Files

前端 未结 4 502
清酒与你
清酒与你 2020-12-02 16:26

I use Beyond Compare (version 3.1.10) to compare different versions of Delphi Form Files, but I don\'t want to see differences concerning ExplicitTop, ExplicitLeft, Explicit

4条回答
  •  暖寄归人
    2020-12-02 17:28

    1. Load a pair of DFM files showing the difference.
    2. Click the Session Settings button (aka Rules w/ umpire icon) or use the Session->Session Settings menu item.
    3. Switch to the Importance tab then click the Edit Grammar... button to open a second dialog.
    4. Click the New... button below the top listbox to open a third dialog.
    5. Change the Element Name option to something like Explicit*, change the Text Matching to Explicit(Left|Top|Width|Height) = \d+ and check the Match character case and Regular expression checkboxes, then click Ok, then click Ok again in the second dialog.
    6. Explicit* should now appear in the original dialog's Grammar Elements list. Uncheck it, then change the combobox at the bottom of the dialog from Use for this view only to Update session defaults.

提交回复
热议问题