Arbortext Command Language > Functions by Alphabetical Listing > change_tracking_reject_selection
  
change_tracking_reject_selection
ret = change_tracking_reject_selection(isValid[, doc[, oid]])
 
This function attempts to reject a tracked change in selected content in the document doc.
isValid — A value specifying how the function handles the change.
If isValid is non-zero, change_tracking_reject_selection determines whether there is a selection that can be rejected. The function returns 1 if there is a current selection which is balanced and completely inside of a highlighted add or delete change tracking region. Otherwise, the function returns 0.
If isValid is 0, change_tracking_accept_selection determines if the selection is valid to reject, and then attempts to reject the selection. Rejecting the selection may result in splitting the change tracking region into two regions. If the reject succeeds, the function returns 1. Otherwise, the function returns 0.
doc — Optional. The document in which to reject changes. If doc is omitted, the current document is used.
oid — Optional. If isValid is non-zero and oid is supplied, then oid is set to the change tracking markup that is available to be rejected.
Related Topics
change_tracking_accept_selection