示例#1
0
文件: RunView.cs 项目: stuart2w/SAW
 /// <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();
 }
示例#2
0
文件: RunView.cs 项目: stuart2w/SAW
 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();
 }
示例#3
0
文件: RunView.cs 项目: stuart2w/SAW
 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();
     }
 }