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