Fixed text count -ypixels with indices in elided lines
Merged from branch bug-7703f947aa