From e02094388ea423a9e935e623acdc36d5adbc05cc Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Tue, 6 Sep 2016 13:55:54 -0400 Subject: Fix the 1-character-line detection/usage for syntax highlighting. --- src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5') diff --git a/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h b/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h index 8f5e5a77..d3ff9a0c 100644 --- a/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h +++ b/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h @@ -55,7 +55,7 @@ protected: int start = 0; int splitactive = previousBlockState(); if(splitactive>splitrules.length()-1){ splitactive = -1; } //just in case - while(start>=0 && start=0 && start<=text.length()-1){ //qDebug() << "split check:" << start << splitactive; if(splitactive>=0){ //Find the end of the current rule -- cgit