aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2016-09-12 10:16:09 -0400
committerKen Moore <ken@pcbsd.org>2016-09-12 10:16:09 -0400
commitccc621aed0fe8674dacfcdab18e42559ad3218c4 (patch)
treea6e06a4c56d302300a124cfae1a5829c602292e2 /src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h
parentCleanup a couple syntax highlighting rules for .rst files. (diff)
downloadlumina-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.h')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h b/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h
index e4c4242c..781ff65d 100644
--- a/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h
+++ b/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h
@@ -61,14 +61,14 @@ protected:
//Find the end of the current rule
int end = splitrules[splitactive].endPattern.indexIn(text, start);
if(end==-1){
- qDebug() << "Highlight to end of line:" << text << start;
+ //qDebug() << "Highlight to end of line:" << text << start;
//rule did not finish - apply to all
if(start>0){ setFormat(start-1, text.length()-start+1, splitrules[splitactive].format); }
else{ setFormat(start, text.length()-start, splitrules[splitactive].format); }
break; //stop looking for more multi-line patterns
}else{
//Found end point within the same line
- qDebug() << "Highlight to particular point:" << text << start << end;
+ //qDebug() << "Highlight to particular point:" << text << start << end;
int len = end-start+splitrules[splitactive].endPattern.matchedLength();
if(start>0){ start--; len++; } //need to include the first character as well
setFormat(start, len , splitrules[splitactive].format);
bgstack15