Update relative line numbers when cursor is no longer in view