QmlJsEditor: help - extend lookup rules for help

This patch prefers QML.moduleName1.2.Type as index for help.
The old rule is also supported for backwards compatibility.

Change-Id: I484399ac54f6ccb09938ef63e1e5b6845e5e8da5
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
Thomas Hartmann
2012-04-13 15:54:42 +02:00
parent 26bed816fd
commit c58197ed9d
2 changed files with 61 additions and 7 deletions

View File

@@ -89,6 +89,7 @@ private:
const QmlJS::ContextPtr &context);
TextEditor::HelpItem qmlHelpItem(const QmlJS::ScopeChain &lookupContext,
const QmlJS::Document::Ptr &qmlDocument,
QmlJS::AST::Node *node) const;
QmlJS::ModelManagerInterface *m_modelManager;