Commit 95a28ed5 authored by Jeff Niu's avatar Jeff Niu

Added single quote for string highlighting

parent 5be7de04
......@@ -76,6 +76,8 @@ HighLighter::HighLighter(QTextDocument *parent)
rule.pattern = Regex("\".*\"");
rule.format = m_quote_format;
rule.pattern = Regex("\'.*\'");
m_comment_format.setForeground(QColor(224, 216, 180));
rule.pattern = Regex("#[^\\n]*");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment