1 #ifndef FAST_PIPELINE_EDITOR_HPP_
2 #define FAST_PIPELINE_EDITOR_HPP_
6 #include "FASTExport.hpp"
7 #include <QSyntaxHighlighter>
8 #include <QSyntaxHighlighter>
9 #include <QTextCharFormat>
10 #include <QRegularExpression>
16 class PipelineHighlighter;
24 std::string mFilename;
43 void highlightBlock(
const QString& text)
override;
46 struct HighlightingRule {
47 QRegularExpression pattern;
50 QVector<HighlightingRule> highlightingRules;
52 QTextCharFormat keywordFormat;
53 QTextCharFormat singleLineCommentFormat;
54 QTextCharFormat quotationFormat;