def merlin_pos(view, pos):
    """
    Convert a position returned by Merlin to a Sublime text point.
    Sublime uses character positions and starts each file at line 0.
    """

    return view.text_point(pos['line'] - 1, pos['col'])