#NEWLINE# def select_line( self , lineno ) : #NEWLINE# #INDENT# ' Selects the specified line. ' #NEWLINE# start = self . control . PositionFromLine ( lineno ) #NEWLINE# end = self . control . GetLineEndPosition ( lineno ) #NEWLINE# self . control . SetSelection ( start , end ) #NEWLINE# return