summaryrefslogtreecommitdiffstats
path: root/Project/MathExpressionForm.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-12-21 17:36:07 -0200
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-12-21 17:36:07 -0200
commitff52be4e9705d443a4fde091525806322c2dc032 (patch)
tree8c33f42a08c6a0d495b5eb13b4540e0c4f91c74a /Project/MathExpressionForm.cpp
parent0a014922be0ee9a11668751a956ceeb8034494ee (diff)
downloadPSP.git-ff52be4e9705d443a4fde091525806322c2dc032.tar.gz
PSP.git-ff52be4e9705d443a4fde091525806322c2dc032.tar.xz
PSP.git-ff52be4e9705d443a4fde091525806322c2dc032.zip
Some math expression implementations
Diffstat (limited to 'Project/MathExpressionForm.cpp')
-rw-r--r--Project/MathExpressionForm.cpp4
1 files changed, 2 insertions, 2 deletions
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(); }