(a, b)
return a.lnum == b.lnum and a.col == b.col
Check if the given views have the cursor on the same position.

    The scroll position and other properties may differ.
Check if the given views have the cursor on the same position.
Check if the given views have the cursor on the same position .
def cursor_in_same_position(a, b):
    """
    Check if the given views have the cursor on the same position.

    The scroll position and other properties may differ.
    """
    return a.lnum == b.lnum and a.col == b.col
def cursor_in_same_position ( a , b ) : return a . lnum == b . lnum and a . col == b . col