auto line numbers update while typing