#NEWLINE# def onBrowserEvent( self , event ) : #NEWLINE# #INDENT# if ( event . type == 'keydown' ) : #NEWLINE# #INDENT# if ( ( self . keyCode == 13 ) and event . ctrlKey ) : #NEWLINE# #INDENT# self . doneHandler . done ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . autoHeight ( )