with new line number fallback, allow marks on empty lines