Better detection of the "last line was regular text line" case.