QmlJS: Move ensuredGetDocumentForPath to ModelManagerInterface

The new function does properly update the latest snapshot.

Change-Id: If3148701e2f98c39a0822d1395b43f4fa7ee1949
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
Thomas Hartmann
2014-06-26 13:52:36 +02:00
committed by Fawzi Mohamed
parent bafe7dbb0b
commit 2aa7df6dff
3 changed files with 18 additions and 12 deletions

View File

@@ -199,6 +199,9 @@ public:
// Blocks until all parsing threads are done. Used for testing.
void joinAllThreads();
QmlJS::Document::Ptr ensuredGetDocumentForPath(const QString &filePath);
public slots:
virtual void resetCodeModel();
void removeProjectInfo(ProjectExplorer::Project *project);