|
BinaryDocument.ZoneOfInterest object
Prototype for BinaryDocument.ZoneOfInterest objects. SyntaxYou cannot create zones of interest. To access them inside a document you can do this:
if (doc instanceof BinaryDocument)
Parametersnone. Property Ofnone. Implemented InECMerge 2.4 DescriptionBinaryDocument.ZoneOfInterest objects give you information
about which bytes of the contents are covered by a zone of
interest.
Properties
MethodsExamplesExample 1.Logs the start position in the text of the left side for the first zone of interest: log (current_frame.coordinator.document.zones_of_interest[0].bytes('left').start); See Also
Method bytesSyntaxfunction bytes ( side )
Parametersside. Side string. Side for which the range of lines is requested Method OfBinaryDocument.ZoneOfInterest object. Implemented InECMerge 2.4 DescriptionReturns the range of bytes which are covered by the conflict, in a given side. ExamplesExample 1.Navigates to the start of first zone of interest in the current view: var doc = current_frame.coordinator.document;
See Also
|
|||||