Great wits jump: for the moment Dr. _Slop_ cast his eyes upon his bag (which he had not done till the dispute with my uncle _Toby_ about midwifery put him in mind of it)--the very same thought occurred. 
The moment Dr. Slop cast his eyes upon his bag, the very same thought occurred to him.
