2012-07-05 10:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp
    ! Fixed: QRegExpression - patternQuotation - which was displaying
       more than one per line string literals wrongly.
       Patch provided by Grzegorz on users-list, thanks.
This commit is contained in:
Pritpal Bedi
2012-07-05 17:58:46 +00:00
parent d467c175a1
commit 8dac9382b6
2 changed files with 7 additions and 1 deletions

View File

@@ -16,6 +16,12 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-07-05 10:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp
! Fixed: QRegExpression - patternQuotation - which was displaying
more than one per line string literals wrongly.
Patch provided by Grzegorz on users-list, thanks.
2012-07-05 12:47 UTC+0200 Viktor Szakats (harbour syenar.net)
* doc/en/sayget.txt
* doc/en/set.txt

View File

@@ -94,7 +94,7 @@ HBQSyntaxHighlighter::HBQSyntaxHighlighter( QTextDocument * parent )
commentStartExpression = QRegExp( "/\\*" );
commentEndExpression = QRegExp( "\\*/" );
commentSingleLine = QRegExp( "//[^\n]*|^[ ]*\\*[^\n]*" );
patternQuotation = QRegExp( "\"[^\"]+\"|\'[^\']+\'" );
patternQuotation = QRegExp( "\"[^\"]*\"|\'[^\']*\'" );
initialized = false;
type = 0;