Ensure the document is updated before invoking a quickfix.

This commit is contained in:
Roberto Raggi
2009-11-18 15:06:26 +01:00
parent 8e16ea717a
commit 8fd0777ab0
8 changed files with 60 additions and 12 deletions

View File

@@ -1308,6 +1308,14 @@ Symbol *CPPEditor::findDefinition(Symbol *symbol)
return 0;
}
bool CPPEditor::isOutdated() const
{
if (m_lastSemanticInfo.revision != document()->revision())
return true;
return false;
}
SemanticInfo CPPEditor::semanticInfo() const
{
return m_lastSemanticInfo;