forked from qt-creator/qt-creator
String state does not propagate!
This commit is contained in:
@@ -416,10 +416,6 @@ void QScriptHighlighter::highlightBlock(const QString &text)
|
|||||||
|| state == StateCCommentStart2
|
|| state == StateCCommentStart2
|
||||||
) {
|
) {
|
||||||
state = StateCComment;
|
state = StateCComment;
|
||||||
} else if (state == StateString) {
|
|
||||||
state = StateString;
|
|
||||||
} else if (state == StateString2) {
|
|
||||||
state = StateString2;
|
|
||||||
} else {
|
} else {
|
||||||
state = StateStandard;
|
state = StateStandard;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user