- fix: can't correctly find definition of the symbols in namespace
This commit is contained in:
parent
14ff15ebc1
commit
443aa541fc
1
NEWS.md
1
NEWS.md
|
@ -4,6 +4,7 @@ Version 0.6.3
|
||||||
- fix: project's file not correctly syntaxed when open in editor
|
- fix: project's file not correctly syntaxed when open in editor
|
||||||
- libturtle update: add fill() / setBackgroundColor() /setBackgroundImage() functions
|
- libturtle update: add fill() / setBackgroundColor() /setBackgroundImage() functions
|
||||||
- fix: code fold calculation not correct, when editing code
|
- fix: code fold calculation not correct, when editing code
|
||||||
|
- fix: can't correctly find definition of the symbols in namespace
|
||||||
|
|
||||||
Version 0.6.2
|
Version 0.6.2
|
||||||
- fix: The Enter key in the numpad doesn't work
|
- fix: The Enter key in the numpad doesn't work
|
||||||
|
|
|
@ -271,6 +271,8 @@ PStatement CppParser::findStatementOf(const QString &fileName, const QString &ph
|
||||||
if (statement)
|
if (statement)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (!statement)
|
||||||
|
statement = findStatementStartingFrom(fileName,nextScopeWord,currentScope->parentScope.lock(),force);
|
||||||
} else {
|
} else {
|
||||||
statement = findStatementStartingFrom(fileName,nextScopeWord,parentScopeType,force);
|
statement = findStatementStartingFrom(fileName,nextScopeWord,parentScopeType,force);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue