Use selection:changed to handle multiple cursors