|
BinaryDocument.Selection object
Prototype for BinaryDocument.Selection objects. Is a kind of Document.Selection. SyntaxYou can create a selection of a whole binary document content this way (in this case, the content of the left side): var selection = new BinaryDocument.Selection (my_doc.contents.left); You can create a partial selection of a text document content this way: var selection = new BinaryDocument.Selection (my_doc.contents.left, LinearRange (start, length)); Parameterscontent.
BinaryDocument.Content
object. Content to be selected.
Property OfBinaryDocument object. Implemented InECMerge 2.4 DescriptionBinaryDocument.Selection object defines a portion of text within a given content (and as such a given side/role for the comparison). Selections are used in several places to retrieve binary text or set the current selection of a view. Properties
Methodsnone specific. ExamplesExample 1.Obtaining the text of the current selection in current view:
var sel =
current_frame.coordinator.current_view.clone_selection();
See Also
|
|||||