forked from qt-creator/qt-creator
QmlJS: Fix switch statement indentation.
Task-number: QTCREATORBUG-756
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user