@property<EOL><INDENT>def last_readed_line(self) -> str:<DEDENT>
mpos = self._cursor.max_readed_position<EOL>mindex = mpos.index<EOL>prevline = mindex - <NUM_LIT:1> if mindex == self.eos_index else mindex<EOL>while prevline >= <NUM_LIT:0> and self._content[prevline] != '<STR_LIT:\n>':<EOL><INDENT>prevline -= <NUM_LIT:1><EOL><DEDENT>nextline = mindex<EOL>while nextline < self.eos_index and self._content[nextline] != '<STR_LIT:\n>':<EOL><INDENT>nextline += <NUM_LIT:1><EOL><DEDENT>last_line = self._content[prevline + <NUM_LIT:1>:nextline]<EOL>return last_line<EOL>
Usefull string to compute error message.