#NEWLINE# def setColumns( self , columns ) : #NEWLINE# #INDENT# 'Sets the number of columns in the editor. If the number of columns\n        is set 0, the actual number of displayed columns is determined\n        implicitly by the adapter.\n\n        @param columns:\n                   the number of columns to set.\n        ' #NEWLINE# if ( self < 0 ) : #NEWLINE# #INDENT# columns = 0 #NEWLINE# #UNINDENT# if ( self . _columns != columns ) : #NEWLINE# #INDENT# self . _columns = columns #NEWLINE# self . requestRepaint ( )