We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
QVector
QList
1 parent 6839929 commit 588728cCopy full SHA for 588728c
1 file changed
gui/codeeditor.h
@@ -21,6 +21,7 @@
21
22
#include <cstdint>
23
24
+#include <QList>
25
#include <QObject>
26
#include <QPlainTextEdit>
27
#include <QRegularExpression>
@@ -29,7 +30,6 @@
29
30
#include <QStringList>
31
#include <QSyntaxHighlighter>
32
#include <QTextCharFormat>
-#include <QVector>
33
#include <QWidget>
34
35
class CodeEditorStyle;
@@ -67,8 +67,8 @@ class Highlighter : public QSyntaxHighlighter {
67
68
void applyFormat(HighlightingRule &rule);
69
70
- QVector<HighlightingRule> mHighlightingRules;
71
- QVector<HighlightingRule> mHighlightingRulesWithSymbols;
+ QList<HighlightingRule> mHighlightingRules;
+ QList<HighlightingRule> mHighlightingRulesWithSymbols;
72
73
QRegularExpression mCommentStartExpression;
74
QRegularExpression mCommentEndExpression;
0 commit comments