forked from qt-creator/qt-creator
Removed colon again from the electric characters
It broke indentation for global scope operator, and when that was fixed it broke for the class initializer lists. I'm not sure how to fix that at the moment, so better have it not do anything rather than being in the way.
This commit is contained in:
@@ -843,8 +843,7 @@ bool CPPEditor::isElectricCharacter(const QChar &ch) const
|
||||
{
|
||||
if (ch == QLatin1Char('{') ||
|
||||
ch == QLatin1Char('}') ||
|
||||
ch == QLatin1Char('#') ||
|
||||
ch == QLatin1Char(':')) {
|
||||
ch == QLatin1Char('#')) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user