(self, lines, start_line, start_col, target_line, target_col)
return self._search(text, start, target)
Wrapper around _search which handles 2d coordinates and a list of lines.

        :param lines: List of lines.
        :param start_line: Starting line, indexed from 0.
        :param start_col: Starting column.
        :param target_line: Target line, indexed from 0.
        :param target_col: Target column.
Wrapper around _search which handles 2d coordinates and a list of lines.
Wrapper around _search which handles 2d coordinates and a list of lines .
def _search_lines(self, lines, start_line, start_col, target_line, target_col):
        """
        Wrapper around _search which handles 2d coordinates and a list of lines.

        :param lines: List of lines.
        :param start_line: Starting line, indexed from 0.
        :param start_col: Starting column.
        :param target_line: Target line, indexed from 0.
        :param target_col: Target column.
        """
        text = "\n".join(lines)
        start = sum(len(line) + 1 for line in lines[:start_line]) + start_col
        target = sum(len(line) + 1 for line in lines[:target_line]) + target_col
        return self._search(text, start, target)
def _search_lines ( self , lines , start_line , start_col , target_line , target_col ) : text = "\n" . join ( lines ) start = sum ( len ( line ) + 1 for line in lines [ : start_line ] ) + start_col target = sum ( len ( line ) + 1 for line in lines [ : target_line ] ) + target_col return self . _search ( text , start , target )