Add cursor to onDidChangeCursorPosition event object