Arbortext Command Language > set Command Options > set balancedselections
  
set balancedselections
set balancedselections= { on | off}
When the balancedselections option is set to on, it automatically extends the selection so that tags are balanced. For example, if you select either a start or an end tag when this option is set, the region will be expanded to include the entire tag pair. The default is on.
When the balancedselections option is set to off and an unbalanced selection portion of markup is deleted, all selected content and balanced portions of the selection are deleted. However, no tagging is removed that would result in unbalanced markup or out-of-context errors.