- fix: members of elements of stl maps are not correctly suggested.
This commit is contained in:
parent
73abcdbb23
commit
8e6a1872db
4
NEWS.md
4
NEWS.md
|
@ -1,3 +1,7 @@
|
||||||
|
Red Panda C++ Version 2.24
|
||||||
|
|
||||||
|
- fix: members of elements of stl maps are not correctly suggested.
|
||||||
|
|
||||||
Red Panda C++ Version 2.23
|
Red Panda C++ Version 2.23
|
||||||
|
|
||||||
- fix: When selection is availalbe, Ctrl+Click shouldn't jump to declaration/definition.
|
- fix: When selection is availalbe, Ctrl+Click shouldn't jump to declaration/definition.
|
||||||
|
|
|
@ -8,7 +8,7 @@ isEmpty(APP_NAME) {
|
||||||
}
|
}
|
||||||
|
|
||||||
isEmpty(APP_VERSION) {
|
isEmpty(APP_VERSION) {
|
||||||
APP_VERSION = 2.23
|
APP_VERSION = 2.24
|
||||||
}
|
}
|
||||||
|
|
||||||
contains(QMAKE_HOST.arch, x86_64):{
|
contains(QMAKE_HOST.arch, x86_64):{
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#include <QDate>
|
#include <QDate>
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QQueue>
|
#include <QQueue>
|
||||||
|
#include <QRegularExpression>
|
||||||
#include <QThread>
|
#include <QThread>
|
||||||
#include <QTime>
|
#include <QTime>
|
||||||
|
|
||||||
|
@ -1205,7 +1206,7 @@ int CppParser::getTemplateParamStart(const QString &s, int startAt, int index) c
|
||||||
int i = startAt+1;
|
int i = startAt+1;
|
||||||
int count=0;
|
int count=0;
|
||||||
while (count<index) {
|
while (count<index) {
|
||||||
i = getTemplateParamEnd(s,i) + 2;
|
i = getTemplateParamEnd(s,i)+1;
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
return i;
|
return i;
|
||||||
|
@ -2147,7 +2148,7 @@ QString CppParser::doFindTemplateParamOf(const QString &fileName, const QString
|
||||||
i=getTemplateParamStart(s,i,index);
|
i=getTemplateParamStart(s,i,index);
|
||||||
int t=getTemplateParamEnd(s,i);
|
int t=getTemplateParamEnd(s,i);
|
||||||
//qDebug()<<index<<s<<s.mid(i,t-i)<<i<<t;
|
//qDebug()<<index<<s<<s.mid(i,t-i)<<i<<t;
|
||||||
return s.mid(i,t-i);
|
return s.mid(i,t-i).replace(QRegularExpression("\\s+"),"");
|
||||||
}
|
}
|
||||||
int position = s.length()-1;
|
int position = s.length()-1;
|
||||||
while ((position >= 0) && (s[position] == '*'
|
while ((position >= 0) && (s[position] == '*'
|
||||||
|
|
|
@ -14,7 +14,7 @@ qsynedit.subdir = libs/qsynedit
|
||||||
|
|
||||||
APP_NAME = RedPandaCPP
|
APP_NAME = RedPandaCPP
|
||||||
|
|
||||||
APP_VERSION = 2.23
|
APP_VERSION = 2.24
|
||||||
|
|
||||||
# Add the dependencies so that the RedPandaIDE project can add the depended programs
|
# Add the dependencies so that the RedPandaIDE project can add the depended programs
|
||||||
# into the main app bundle
|
# into the main app bundle
|
||||||
|
|
Loading…
Reference in New Issue