def seek_line_forward(self):
pos = start_pos = self.file.tell()<EOL>bytes_read, read_str = self.read(self.read_size)<EOL>start = <NUM_LIT:0><EOL>if bytes_read and read_str[<NUM_LIT:0>] in self.line_terminators:<EOL><INDENT>start += <NUM_LIT:1><EOL><DEDENT>while bytes_read > <NUM_LIT:0>:<EOL><INDENT>i = start<EOL>while i < bytes_read:<EOL><INDENT>if read_str[i] in self.line_terminators:<EOL><INDENT>self.seek(pos + i + <NUM_LIT:1>)<EOL>return self.file.tell()<EOL><DEDENT>i += <NUM_LIT:1><EOL><DEDENT>pos += self.read_size<EOL>self.seek(pos)<EOL>bytes_read, read_str = self.read(self.read_size)<EOL><DEDENT>return None<EOL>
\
        Searches forward from the current file position for a line terminator
        and seeks to the charachter after it.