This toolbar contains the operations that can be performed on the source and target files or XML fragments.
Figure: The Compare Toolbar
The following actions are available:
Auto - Selects the most appropriate algorithm, based on the compared content and its size (selected by default).
Characters - Computes the differences at character level.
Words - Computes the differences at word level.
Lines - Computes the differences at line level, meaning that it compares two files or fragments looking for identical lines of text. Once identical lines are found, it is considered a match. The content that precedes the match is considered to be a difference and marked accordingly. The algorithm then continues to look for matching lines.
Syntax Aware - Computes differences for known file types or XML fragments. Known file types include those listed in the New dialog box, such as XML file types (XSLT files, XSL-FO files, XSD files, RNG files, NVDL files, etc.), XQuery file types (.xquery, .xq, .xqy, .xqm extensions), DTD file types (.dtd, .ent, .mod extensions), TEXT file type (.txt extension), or PHP file type (.php extension).
XML Fast - Comparison that works well on large files or fragments, but it is less precise than XML Accurate.
XML Accurate - Comparison that is more precise than XML Fast, at the expense of speed.
Diff Options
Perform directories differencing
Ignore Whitespaces
Synchronized scrolling
Format and
Indent Both Files (Ctrl Shift P (Command Shift P on OS
X))
Copy Change from Right to Left
Copy All Changes from Right to Left
Next Block
of Changes (Ctrl . (Command . on OS
X))
Previous Block of Changes (Ctrl , (Command , on OS
X))
Next
Change (Ctrl Shift . (Command Shift .
on OS X))
Previous
Change (Ctrl Shift , (Command Shift , on
OS X))
Copy
All Changes from Left to Right
Copy Change from Left to Right
First Change (Ctrl B (Command B on OS
X))