private int FindInOtherDocument(string findText, int view, int fileIndex)
{
// Activate next document
Win32.SendMessage(PluginBase.nppData._nppHandle, NppMsg.NPPM_ACTIVATEDOC, view, fileIndex);
_editor = Editor.GetActive();
// This statement avoids a loop if there's no match in the first document, it calls FindInOtherDocument but if SearchFromBegining is true it starts back at first document again.
Settings.SearchFromBegining = false;
// Reset cursor position to top of documnet
_editor.SetSelection(0, 0);
return FindNext(findText);
}