private void Engine_OptionsChanged(IRegexEngine sender, RegexEngineOptionsChangedArgs args) { if (!IsFullyLoaded) { return; } if (IsInChange) { return; } if (object.ReferenceEquals(sender, CurrentRegexEngine)) { HandleOptionsChange(preferImmediateReaction: args?.PreferImmediateReaction == true); } else { // inactive engine; ignore } }
private void OptionsControl_Changed(object sender, RegexEngineOptionsChangedArgs args) { OptionsChanged?.Invoke(this, args); }