Merge branch '2.0'

Conflicts:
	src/plugins/qmljseditor/qmljshighlighter.cpp
This commit is contained in:
Christian Kamm
2010-06-15 14:37:46 +02:00

View File

@@ -326,7 +326,7 @@ int Highlighter::onBlockStart()
int previousState = previousBlockState(); int previousState = previousBlockState();
if (previousState != -1) { if (previousState != -1) {
state = previousState & 0xff; state = previousState & 0xff;
m_braceDepth = previousState >> 8; m_braceDepth = (previousState >> 8);
m_inMultilineComment = (state == Scanner::MultiLineComment); m_inMultilineComment = (state == Scanner::MultiLineComment);
} }
m_foldingIndent = m_braceDepth; m_foldingIndent = m_braceDepth;