QmlJS: Add initial 'Find Usages' support.

This commit is contained in:
Christian Kamm
2010-09-24 14:05:34 +02:00
parent 6755edc351
commit 3f505e9982
20 changed files with 967 additions and 142 deletions

View File

@@ -46,7 +46,7 @@ public:
// since we keep the document and snapshot around, we don't need to keep the Link instance
Link link(&context, doc, snapshot, ModelManagerInterface::instance()->importPaths());
ScopeBuilder scopeBuilder(doc, &context);
ScopeBuilder scopeBuilder(&context, doc, snapshot);
scopeBuilder.push(path);
}
@@ -57,7 +57,7 @@ public:
doc(doc),
snapshot(snapshot)
{
ScopeBuilder scopeBuilder(doc, &context);
ScopeBuilder scopeBuilder(&context, doc, snapshot);
scopeBuilder.push(path);
}