#NEWLINE# def get_cursor_coords( self , size ) : #NEWLINE# #INDENT# '\n        Return the (*x*, *y*) coordinates of cursor within widget.\n\n        >>> Edit("? ","yes").get_cursor_coords((10,))\n        (5, 0)\n        ' #NEWLINE# ( maxcol , ) = size #NEWLINE# self . _shift_view_to_cursor = True #NEWLINE# return self . position_coords ( maxcol , self . edit_pos )