forked from qt-creator/qt-creator
Disabled the code completion of QML components.
This commit is contained in:
@@ -281,6 +281,7 @@ int QmlCodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
// FIXME: this completion strategy is not going to work when the document was never parsed correctly.
|
// FIXME: this completion strategy is not going to work when the document was never parsed correctly.
|
||||||
if (qmlDocument->qmlProgram() != 0) {
|
if (qmlDocument->qmlProgram() != 0) {
|
||||||
const QIcon otherIcon = iconForColor(Qt::darkCyan);
|
const QIcon otherIcon = iconForColor(Qt::darkCyan);
|
||||||
@@ -327,6 +328,7 @@ int QmlCodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (previousChar.isNull()
|
if (previousChar.isNull()
|
||||||
|| previousChar.isSpace()
|
|| previousChar.isSpace()
|
||||||
|
|||||||
Reference in New Issue
Block a user