mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 22:05:25 +00:00
Update SyntaxHighlighter.cpp (#1206)
This commit is contained in:
parent
4a9b6182f5
commit
d1af0c7c69
@ -20,8 +20,6 @@ SyntaxHighlighter::SyntaxHighlighter(QTextDocument *parent)
|
|||||||
<< "\\bdefault\\b" << "\\bgoto\\b" << "\\bsizeof\\b"
|
<< "\\bdefault\\b" << "\\bgoto\\b" << "\\bsizeof\\b"
|
||||||
<< "\\bvolatile\\b" << "\\bdo\\b" << "\\bif\\b"
|
<< "\\bvolatile\\b" << "\\bdo\\b" << "\\bif\\b"
|
||||||
<< "\\static\\b" << "\\while\\b";
|
<< "\\static\\b" << "\\while\\b";
|
||||||
//Special words
|
|
||||||
keywordPatterns << "\\bloc_*\\b" << "\\bsym.*\\b";
|
|
||||||
|
|
||||||
QTextCharFormat keywordFormat;
|
QTextCharFormat keywordFormat;
|
||||||
keywordFormat.setForeground(Qt::red);
|
keywordFormat.setForeground(Qt::red);
|
||||||
|
Loading…
Reference in New Issue
Block a user