Fix the last line of a file from not being highlighted.
Fix the last line of a file from not being highlighted.

REVIEW:104178
BUG:294643

DickJ/kate,DickJ/kate,cmacq2/kate,sandsmark/kate,sandsmark/kate,hlamer/kate,hlamer/kate,jfmcarreira/kate,sandsmark/kate,DickJ/kate,hlamer/kate,jfmcarreira/kate,hlamer/kate,hlamer/kate,sandsmark/kate,cmacq2/kate,hlamer/kate,jfmcarreira/kate,hlamer/kate,hlamer/kate,cmacq2/kate,hlamer/kate,DickJ/kate,hlamer/kate