Is there a handler for the event when a new row is highlighted in the editor?

I would like to run some code when a new row is highlighted in the editor.  How can I be notified when that event occurs?