pos = TextArea.search(s, startidx2, stopindex=END)
if not pos:
showinfo('Notepad',f"{s} not found")
else:
lastidx = "%s + %dc"%(pos,len(s))
TextArea.tag_add('found', pos,lastidx)
TextArea.tag_config('found', foreground='white', background='blue')
startidx2 = lastidx