- Fix: Function list is not correctly retrived for full-scoped functions
This commit is contained in:
parent
2c26f9aaa1
commit
20339b3e9a
1
NEWS.md
1
NEWS.md
|
@ -45,6 +45,7 @@ Red Panda C++ Version 2.26
|
||||||
- Fix: Can't goto definition/declaration into files that not saved.
|
- Fix: Can't goto definition/declaration into files that not saved.
|
||||||
- Fix: Expression that starts with full scoped variables might be treated as var definition.
|
- Fix: Expression that starts with full scoped variables might be treated as var definition.
|
||||||
- Enhancement: Don't auto-indent in raw string.
|
- Enhancement: Don't auto-indent in raw string.
|
||||||
|
- Fix: Function list is not correctly retrived for full-scoped functions.
|
||||||
|
|
||||||
Red Panda C++ Version 2.25
|
Red Panda C++ Version 2.25
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ APP_NAME = RedPandaCPP
|
||||||
APP_VERSION = 2.26
|
APP_VERSION = 2.26
|
||||||
|
|
||||||
# TEST_VERSION = beta2
|
# TEST_VERSION = beta2
|
||||||
TEST_VERSION = $$system(git rev-list HEAD --count)
|
system(git rev-list HEAD --count): TEST_VERSION = $$system(git rev-list HEAD --count)
|
||||||
|
|
||||||
contains(QMAKE_HOST.arch, x86_64):{
|
contains(QMAKE_HOST.arch, x86_64):{
|
||||||
DEFINES += ARCH_X86_64=1
|
DEFINES += ARCH_X86_64=1
|
||||||
|
|
|
@ -4358,7 +4358,7 @@ void Editor::updateFunctionTip(bool showTip)
|
||||||
QList<PStatement> statements=mParser->getListOfFunctions(mFilename,
|
QList<PStatement> statements=mParser->getListOfFunctions(mFilename,
|
||||||
s,
|
s,
|
||||||
functionNamePos.line);
|
functionNamePos.line);
|
||||||
|
// qDebug()<<"finding function list:"<<s<<" - "<<statements.length();
|
||||||
foreach (const PStatement statement, statements) {
|
foreach (const PStatement statement, statements) {
|
||||||
pMainWindow->functionTip()->addTip(
|
pMainWindow->functionTip()->addTip(
|
||||||
statement->command,
|
statement->command,
|
||||||
|
|
|
@ -435,7 +435,7 @@ PStatement CppParser::doFindStatementOf(const QString &fileName,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!isSTLContainerFunctions)
|
if (!isSTLContainerFunctions)
|
||||||
typeStatement = doFindTypeDefinitionOf(fileName,statement->type, parentScopeType);
|
typeStatement = doFindTypeDefinitionOf(fileName,statement->type, statement->parentScope.lock());
|
||||||
|
|
||||||
//it's stl smart pointer
|
//it's stl smart pointer
|
||||||
if ((typeStatement)
|
if ((typeStatement)
|
||||||
|
|
|
@ -23,8 +23,6 @@ APP_NAME = RedPandaCPP
|
||||||
|
|
||||||
APP_VERSION = 2.26
|
APP_VERSION = 2.26
|
||||||
|
|
||||||
TEST_VERSION = beta2
|
|
||||||
|
|
||||||
win32: {
|
win32: {
|
||||||
SUBDIRS += \
|
SUBDIRS += \
|
||||||
redpanda-win-git-askpass
|
redpanda-win-git-askpass
|
||||||
|
|
Loading…
Reference in New Issue