From ff52be4e9705d443a4fde091525806322c2dc032 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Thu, 21 Dec 2017 17:36:07 -0200 Subject: Some math expression implementations --- Project/MathExpressionForm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Project/MathExpressionForm.cpp') diff --git a/Project/MathExpressionForm.cpp b/Project/MathExpressionForm.cpp index 33ea50d..4e0fab8 100644 --- a/Project/MathExpressionForm.cpp +++ b/Project/MathExpressionForm.cpp @@ -134,8 +134,8 @@ void MathExpressionForm::SetSintaxHighlights() m_stcMathExpr->SetKeyWords( 0, wxT("abs acos acosh arg asin asinh atan atan2 atanh cbrt conj ceil cos cosh cot csc eval exp exp2 floor " "hypot if imag int log log2 log10 max min polar pow real sec sin sinh sqrt tan tanh trunc")); - m_stcMathExpr->SetKeyWords(1, wxT("time step ") + variables); - m_stcMathExpr->SetKeyWords(2, wxT("pi e")); + m_stcMathExpr->SetKeyWords(1, wxT("time step switch ") + variables); + m_stcMathExpr->SetKeyWords(2, wxT("TRUE FALSE OPEN CLOSE PI E")); } void MathExpressionForm::OnTextUpdate(wxCommandEvent& event) { SetSintaxHighlights(); } -- cgit