public override void OnFocusChanged(WindowActivityMonitorInfo monitorInfo, ref bool handled) { Log.Debug(); base.OnFocusChanged(monitorInfo, ref handled); if (monitorInfo.IsNewWindow) { _wordPredictionContext = Context.AppWordPredictionManager.ActiveWordPredictor.LoadContext(getNotepadText()); } showPanel(this, new PanelRequestEventArgs(PanelClasses.Alphabet, monitorInfo)); handled = true; }