/// <summary>all CHARACTERS typed sent here by keyswitch, except a few undetectable sent by KeySend to KeySend_ExtraKeyForPredictions</summary> private void KeySwitch_CharacterTyped(object sender, SingleFieldEventClass <char> e) { if (m_Blade == null) { return; } m_Blade.TrackCharacterTyped(e, 0); UpdateWordPredictions(); }
private void KeySend_ExtraKeyForPredictions(object sender, SingleFieldEventClass <char> e) { // this is triggered by KeySend when it sends an undetectable character if (m_Blade == null) { return; } m_Blade.TrackCharacterTyped(e, 0); UpdateWordPredictions(); }
private void m_Engine_Iterate(object sender, SingleFieldEventClass <int> direction) { if (m_frmReport != null) { return; } if (m_Continuous != null) // see Activation section { m_Continuous.Iterate(); } else if (m_Current != null) { InvokeScript(m_Current, Scriptable.ScriptTypes.Next); } else { SelectInitialItem(); } }