File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,11 @@ QgsExpressionBuilderWidget::QgsExpressionBuilderWidget( QWidget *parent )
123
123
txtExpressionString->indicatorDefine ( QgsCodeEditor::SquiggleIndicator, QgsExpression::ParserError::FunctionWrongArgs );
124
124
txtExpressionString->indicatorDefine ( QgsCodeEditor::SquiggleIndicator, QgsExpression::ParserError::FunctionInvalidParams );
125
125
txtExpressionString->indicatorDefine ( QgsCodeEditor::SquiggleIndicator, QgsExpression::ParserError::FunctionNamedArgsError );
126
+ #if defined(QSCINTILLA_VERSION) && QSCINTILLA_VERSION >= 0x20a00
126
127
txtExpressionString->indicatorDefine ( QgsCodeEditor::TriangleIndicator, QgsExpression::ParserError::Unknown );
128
+ #else
129
+ txtExpressionString->indicatorDefine ( QgsCodeEditor::SquiggleIndicator, QgsExpression::ParserError::Unknown );
130
+ #endif
127
131
128
132
// Set all the error markers as red. -1 is all.
129
133
txtExpressionString->setIndicatorForegroundColor ( QColor ( Qt::red ), -1 );
You can’t perform that action at this time.
0 commit comments