trim uses textbody's caret attribute
find uses textbody caret