Commit 8c8f5270 authored by Christian Kamm's avatar Christian Kamm
Browse files

QmlJS highlighter: Highlight name after 'as' in imports.

Also fix a problem with the scope not being updated after initial

Change-Id: If5cf70bb029857b317ebbee3a6c4ee421213f24c

Sanity-Review: Qt Sanity Bot <>
Reviewed-by: default avatarChristian Kamm <>
parent e0f24bb5
......@@ -265,6 +265,12 @@ protected:
addUse(fullLocationForQualifiedId(localId), SemanticHighlighter::BindingNameType);
bool visit(UiImport *ast)
processName(ast->importId, ast->importIdToken);
return true;
bool visit(UiObjectDefinition *ast)
if (m_scopeChain.document()->bind()->isGroupedPropertyBinding(ast)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment