Formatting fixed and end.lineIndex cached