private void Instance_ReplaceText(object sender, ReplaceEventArgs e) { if (e.ReplaceAll) { ReplaceTextMulti(e.OldText, e.NewText, e.ReplaceSelected); } else { ReplaceText(e.OldText, e.NewText, e.Positive); } }