private void Editor_PreviewMouseDown(object sender, MouseButtonEventArgs e) { this.currentSearchIndex = 0; }