Beyond Compare: Difference between revisions

From HaFrWiki42
Jump to navigation Jump to search
mNo edit summary
Line 8: Line 8:


=== Minor diffs ===
=== Minor diffs ===
Sometimes you don't want to see minor differences.
Sometimes you don't want to see minor differences <ref>[http://stackoverflow.com/questions/3668439/how-do-i-make-beyond-compare-ignore-certain-differences-while-comparing-versions Stack Overflow], How do i make BC ignore certain differences while comparing.</ref>.
# Load a pair of DFM files showing the difference.
# Load a pair of DFM files showing the difference.
# Click the Session Settings button (aka Rules w/ umpire icon) or use the {{GuiButton|Session}}{{GuiDRArrow}}{{GuiKeyword|Session Settings}} menu item.
# Click the Session Settings button (aka Rules w/ umpire icon) or use the {{GuiButton|Session}}{{GuiDRArrow}}{{GuiKeyword|Session Settings}} menu item.
Line 15: Line 15:
# 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.
# 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.
# Explicit* should now appear in the original dialog's Grammar Elements list.  
# 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.
# Uncheck it, then change the combobox at the bottom of the dialog from Use for this view only to Update session defaults.


== See also ==
== See also ==

Revision as of 11:44, 29 May 2016

Beyond Compare is a data comparison utility. Aside from comparing files, the program is capable of doing side-by-side comparison of directories, FTP and SFTP directories, Dropbox directories, Amazon S3 directories, and archives. It is available for Windows, Mac OS, and Linux operating systems. A strength of Beyond Compare is that it can be configured as difftool and mergetool of version control systems, such as git. [1].

Rules

Minor diffs

Sometimes you don't want to see minor differences [2].

  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.
  7. Uncheck it, then change the combobox at the bottom of the dialog from Use for this view only to Update session defaults.

See also

top

Reference

top

  1. Wikipedia], Beyond Compare.
  2. Stack Overflow, How do i make BC ignore certain differences while comparing.