Replace use of custom text property with default line number property.