Prototype for Document.Parameters objects. Is a kind of ConfigurationObject.
Syntax
var parameters = new Document.Parameters ( );
parameters.left.url = "c:\document.txt";
parameters.right.url = "c:\document.txt";
parameters.gui_type = "merge2";
parameters.settings["display.changed_text_bgcolor"] =
"#00FF00"; // full green for changed texts!
Parameters
none.
Property Of
none.
Implemented In
ECMerge 2.1
Description
This object stores all the parameters which determine
what is compared and how it is compared.
Properties
Property
Description
gui_type
GUI
Type string. Kind of document (i.e. for edition,
comparison, merge...)
Setting the colour to display various elements of the
comparisons:
var parameters = new
Document.Parameters ( );
parameters.settings["display.changed_text_bgcolor"] =
"#00FF00"; // full green for changed texts!
parameters.settings["display.deleted_text_bgcolor"] =
"#FF0000"; // full red for deleted texts!
parameters.settings["display.ignored_change_text_bgcolor"] =
"#000000"; // really ignore it: show it black as normal
text