editCost Property

Summary

Cost of an empty edit operation in terms of edit characters.

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentCompareOptions.prototype, 'editCost', 
   get: function(), 
   set: function(value) 
) 
editCost: number; 

Property Value

An integer reflecting the empty edit cost. The default value is 4.

Remarks

The smaller the value, the more granular the inspection, and the more likely the letters of a word from one version gets sandwiched with the letters of a word from the other version. Larger values result in the comparison showing longer passages from each version.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly