forked from qt-creator/qt-creator
Merge branch '2.0'
Conflicts: src/plugins/qmljseditor/qmljshighlighter.cpp
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user