QmlJS: Fix switch statement indentation.

Task-number: QTCREATORBUG-756
This commit is contained in:
Christian Kamm
2010-04-21 10:33:50 +02:00
parent 30417bca46
commit 3067f441df
3 changed files with 15 additions and 8 deletions

View File

@@ -932,7 +932,8 @@ QString QmlJSTextEditor::wordUnderCursor() const
bool QmlJSTextEditor::isElectricCharacter(const QChar &ch) const
{
if (ch == QLatin1Char('}')
|| ch == QLatin1Char(']'))
|| ch == QLatin1Char(']')
|| ch == QLatin1Char(':'))
return true;
return false;
}