Commit aeadd49f authored by Jan Möbius's avatar Jan Möbius

Added if and break to keywords

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12439 383ad7c9-94d9-4d36-a494-682f7c89f535
parent bcb4a15b
......@@ -81,7 +81,7 @@ Highlighter::Highlighter(QTextEdit *parent)
commentEndExpression_ = QRegExp("\\*/");
// Define basic keywords
keywordPatterns_ << "while" << "for" << "print" << "var";
keywordPatterns_ << "while" << "for" << "print" << "var" << "break" << "if";
// Types which are accepted by the scripting system
typePatterns_ << "int" << "Matrix4x4" << "QString" << "idList" << "bool" << "Vector" << "double";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment