fixed line numbers on new doc