editing of overly long lines and deleting unnecessary lines