[TextEditor] Fixed 'Bug 16126 - When searching in the whole solution,
if there are many search matches (e.g. over 500-1000) an error is
displayed'.