#NEWLINE# def testCanFindNextOccurrence( self ) : #NEWLINE# #INDENT# self . write ( 'xxx\naaa aaa xxx aaa\n' ) #NEWLINE# self . clear_sel ( ) #NEWLINE# self . add_sel ( a = 4 , b = 4 ) #NEWLINE# match = find_wrapping ( match . view , 'xxx' , 4 , self . view . size ( ) ) #NEWLINE# self . assertEqual ( match , self . R ( 12 , 15 ) )