forked from qt-creator/qt-creator
CppEditor: Tests: Add initial Follow Symbol Under Cursor tests
Test cases are examples from
Working Draft, Standard for Programming Language C++
Document Number: N3242=11-0012
Change-Id: I624c315943d6a00e821abb52eef6e0ff4a40f0d7
Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
committed by
David Schulz
parent
c702639a8e
commit
e6e30c3fd3
@@ -164,6 +164,16 @@ unsigned CppEditorSupport::editorRevision() const
|
||||
return m_textEditor->editorWidget()->document()->revision();
|
||||
}
|
||||
|
||||
bool CppEditorSupport::isDocumentBeingUpdated() const
|
||||
{
|
||||
return m_documentParser.isRunning();
|
||||
}
|
||||
|
||||
bool CppEditorSupport::isDocumentScheduledForUpdate() const
|
||||
{
|
||||
return m_updateDocumentTimer->isActive();
|
||||
}
|
||||
|
||||
void CppEditorSupport::setExtraDiagnostics(const QString &key,
|
||||
const QList<Document::DiagnosticMessage> &messages)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user