prepare texteditor to customize search results for 'file' and 'Text'