changeClickedEvent
Description
This event fires when the user clicks on a change in the Change Tracking panel. This allows API script to do something extra with the node.
Example
Editor.addEventListener("changeClickedEvent", changeClicked);
function changeClicked(evt)
{
var node = evt.node;
console.log("User clicked on a change in node", node);
}
changeClickedEvent event
Properties
- node
-
XopusText. The textNode that contains the change. - offset
-
Integer. The character offset of the change within the
textNode. - dataIn
- String . The text that was added in this change. Empty string if no data was added.
- dataOut
- String. The text that was removed in this change. Empty string if no data was removed.
- type
- String. Type of the event error.