diff options
author | Ken Moore <ken@pcbsd.org> | 2016-09-12 10:16:09 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2016-09-12 10:16:09 -0400 |
commit | ccc621aed0fe8674dacfcdab18e42559ad3218c4 (patch) | |
tree | a6e06a4c56d302300a124cfae1a5829c602292e2 /src-qt5/desktop-utils/lumina-textedit/syntaxSupport.cpp | |
parent | Cleanup a couple syntax highlighting rules for .rst files. (diff) | |
download | lumina-ccc621aed0fe8674dacfcdab18e42559ad3218c4.tar.gz lumina-ccc621aed0fe8674dacfcdab18e42559ad3218c4.tar.bz2 lumina-ccc621aed0fe8674dacfcdab18e42559ad3218c4.zip |
Add a font selector option to LTE, so monospaced fonts can be used as needed for particular users.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/syntaxSupport.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/syntaxSupport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.cpp b/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.cpp index ed3a3eac..7dcad6c3 100644 --- a/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.cpp +++ b/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.cpp @@ -170,7 +170,7 @@ void Custom_Syntax::loadRules(QString type){ rules << rule; rule = SyntaxRule(); //reset rule rule.format.setFontWeight( QFont::Bold ); - rule.pattern = QRegExp("^(\\s*)\\.\\.(\\s*)([a-zA-Z0-9]+)::\\s"); + rule.pattern = QRegExp("^(\\s*)\\.\\.(\\s*)([a-zA-Z0-9]+)::"); rules << rule; //Functions rule = SyntaxRule(); //reset rule |