forked from qt-creator/qt-creator
Changed the QML/JS editor to treat .qs/.js files as JavaScript, and invoke the appropriate parser for it.
Reviewed-by: Christian Kamm
This commit is contained in:
committed by
Tim Jenssen
parent
2dfe4f620c
commit
0f8126f62d
@@ -130,7 +130,7 @@ namespace QmlJSEditor {
|
||||
_pos = pos;
|
||||
_scopes.clear();
|
||||
_currentSymbol = 0;
|
||||
Node::accept(doc->program(), this);
|
||||
Node::accept(doc->qmlProgram(), this);
|
||||
return _scopes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user