Will update the comment to say the function jumps the cursor to a new or existing editor.

I don't understand why or where we would use the "cursorActivity" event. Could you explain how this would improve the test.