Unverified Commit d38a05e2 authored by Jeff Niu's avatar Jeff Niu Committed by GitHub

Merge pull request #59 from Mogball/jeff/single_quote_highlight

[HF] Added single quote for string highlighting
parents 99281427 95a28ed5
......@@ -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