QmlJSEditor: Move semantic info updating to document

Change-Id: I804dbd887af1786e7554ec79f94fc8e59db1de5b
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
Eike Ziller
2014-01-24 16:53:16 +01:00
parent ae5ef38e3c
commit f8461fbbdf
10 changed files with 535 additions and 507 deletions

View File

@@ -49,9 +49,9 @@ using namespace QmlJS::AST;
Information about the imports of a Document can be accessed with imports().
When dealing with a QmlJSEditor::QmlJSTextEditorWidget it is unnecessary to
When dealing with a QmlJSEditor::QmlJSEditorDocument it is unnecessary to
construct a new Context manually. Instead use
QmlJSTextEditorWidget::semanticInfo()::context.
QmlJSEditorDocument::semanticInfo()::context.
*/
ContextPtr Context::create(const QmlJS::Snapshot &snapshot, ValueOwner *valueOwner,