This commit is contained in:
Thijs Wenker 2014-04-22 13:12:21 +02:00
parent 70ac93c20d
commit 6c89521f1d
3 changed files with 5 additions and 5 deletions

View file

@ -54,7 +54,7 @@ void ScriptHighlighting::formatComments(const QString& text) {
start = text.indexOf(_multiLineCommentBegin, start + length);
if (end == -1) {
setCurrentBlockState(BlockStateInMultiComment);
}
}
}
int index = _singleLineComment.indexIn(text);