#NEWLINE# def cursor_to_line( self , line = None ) : #NEWLINE# #INDENT# 'Moves cursor to a specific line in the current column.\n\n        :param int line: line number to move the cursor to.\n        ' #NEWLINE# self . pt_cursor_position . y = ( ( ( line or 1 ) - 1 ) + self . line_offset ) #NEWLINE# margins = self . margins #NEWLINE# if ( ( mo . DECOM in self . mode ) and ( margins is not None ) ) : #NEWLINE# #INDENT# self . pt_cursor_position . y += margins . top #NEWLINE# #UNINDENT# self . ensure_bounds ( )