Arbortext Command Language > Hooks > changetrackingafterhook
  
changetrackingafterhook
hook(oid1, oid2, optimized)
 
This hook is called after change tracking markup is inserted. The first and second arguments are oids of the one or two start tags used to mark up a single change track record. The first oid is suitable for a call to change_tracking_info. The optimized parameter is set to indicate the type of optimization done on the markup. 0 means that no optimization was done. Arbortext Editor will automatically optimize (or merge) two changes made by the same user to a single area of text or markup.
* 
If an operation causes multiple change tracking records to be inserted, then the changetrackingafterhook will be called for each one in the opposite order that they were inserted — that is, the last one is called first.