CppEditor: Reuse OverviewModel from text editor also in the outline pane

There's no use synchronizing the same model twice.
This commit is contained in:
Kai Koehne
2010-07-08 15:47:59 +02:00
parent 1430358d52
commit 2ba49e4e72
4 changed files with 19 additions and 26 deletions

View File

@@ -1417,6 +1417,11 @@ SemanticInfo CPPEditor::semanticInfo() const
return m_lastSemanticInfo;
}
CPlusPlus::OverviewModel *CPPEditor::overviewModel() const
{
return m_overviewModel;
}
bool CPPEditor::isElectricCharacter(QChar ch) const
{
if (ch == QLatin1Char('{') ||