Exemple #1
0
 private void Check_Hint(object sender, System.EventArgs e)
 {
     Dialog_Helpers.Check_Hint(
         this.assignment_Text,
         this.textBox1,
         interpreter_pkg.call_dialog,
         ref this.current_suggestion,
         ref this.suggestion_result,
         ref this.error,
         this.Font);
     this.Invalidate();
 }
Exemple #2
0
 private void variableTextBox_TextChanged(object sender, EventArgs e)
 {
     Dialog_Helpers.Check_Hint(
         this.variableTextBox,
         this.suggestionTextBox,
         interpreter_pkg.lhs_dialog,
         ref this.current_suggestion_var,
         ref this.suggestion_result_var,
         ref this.error,
         this.Font);
     this.Invalidate();
 }
Exemple #3
0
 private void Check_Hint_Lhs(object sender, System.EventArgs e)
 {
     Dialog_Helpers.Check_Hint(
         this.lhsTextBox,
         this.suggestionTextBox,
         interpreter_pkg.lhs_dialog,
         ref this.current_suggestion,
         ref this.suggestion_result,
         ref this.error,
         this.Font);
     this.Invalidate();
 }
Exemple #4
0
 private void textBox2_TextChanged(object sender, System.EventArgs e)
 {
     if (exprTextBox.Lines.Length > 1)
     {
         exprTextBox.Text = exprTextBox.Lines[0] + exprTextBox.Lines[1];
         exprTextBox.Select(exprTextBox.Text.Length, 0);
     }
     Dialog_Helpers.Check_Hint(
         this.exprTextBox,
         this.suggestionTextBox,
         interpreter_pkg.expr_dialog,
         ref this.current_suggestion_expr,
         ref this.suggestion_result_expr,
         ref this.error,
         this.Font);
     this.Invalidate();
 }