コード例 #1
0
 public static void Enter_IntelliSelect()
 {
     if (IntelliSenceHelp.Count > 0)
     {
         State = RexInputState.IntelliSelect;
         SelectedHelp++;
         if (SelectedHelp >= IntelliSenceHelp.Count)
         {
             SelectedHelp = IntelliSenceHelp.Count - 1;
         }
     }
 }
コード例 #2
0
 /// <summary>
 /// Executes the <see cref="Code"/>
 /// </summary>
 public static void Execute()
 {
     State = RexInputState.Execute;
     ExecuteCode(Code);
     Enter_NoInput();
 }
コード例 #3
0
 /// <summary>
 /// Enters typing mode
 /// Intellisence is started and displayed.
 /// </summary>
 public static void Enter_Typing()
 {
     State        = RexInputState.Typing;
     DisplayHelp  = true;
     SelectedHelp = -1;
 }
コード例 #4
0
 /// <summary>
 /// Clears the codestring and sets the state to NoInput
 /// </summary>
 public static void Enter_NoInput()
 {
     State       = RexInputState.NoInput;
     DisplayHelp = false;
 }