Prototype for BinaryDocument.Difference objects.
You cannot create these objects. You can just access them as returned by the BinaryDocument.differences call.
none.
none.
ECMerge 2.4
BinaryDocument.Difference objects describes a difference between two sides at the byte level.
Property | Description |
ignored | Boolean. True if the rules about ignored changes established that this change should be ignored |
Logs for each difference whether it is ignored or not, out of the list between left and right side of a binary document:
var doc = current_frame.coordinator.document;
// on a binary frame
var left_right_diff = doc.differences
("left-right");
for (var idx=0; idx<left_right_diff.length; ++idx)
log ("diff "+idx+"is
"+(left_right_diff[idx].ignored?"":"not ")+"ignored");
BinaryDocument object
function bytes ( role )
returns a LinearRange
role. String. "source" or "target".
BinaryDocument.Difference object.
ECMerge 2.4
Returns the range of bytes encompassed by the difference for the given role.
BinaryDocument.Difference object