fix build
This commit is contained in:
parent
8698084ffe
commit
a4ee83f96d
@ -12,7 +12,7 @@ JsSyntaxHighlighter::JsSyntaxHighlighter(QTextDocument* parent) : QSyntaxHighlig
|
|||||||
m_keywordFormat.setFontWeight(QFont::Weight::Bold);
|
m_keywordFormat.setFontWeight(QFont::Weight::Bold);
|
||||||
|
|
||||||
QStringList keywords = jsKeywords();
|
QStringList keywords = jsKeywords();
|
||||||
auto std_keywords = boolinq::from(keywords)
|
auto std_keywords = boolinq::from(keywords.begin(), keywords.end())
|
||||||
.select([](const QString& kw) {
|
.select([](const QString& kw) {
|
||||||
return QSL("\\b%1\\b").arg(kw);
|
return QSL("\\b%1\\b").arg(kw);
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user