enteredDocument -> enteredView; leftDocument -> leftView