- 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
|
||||
|
||||
- fix: When selection is availalbe, Ctrl+Click shouldn't jump to declaration/definition.
|
||||
|
|
|
@ -8,7 +8,7 @@ isEmpty(APP_NAME) {
|
|||
}
|
||||
|
||||
isEmpty(APP_VERSION) {
|
||||
APP_VERSION = 2.23
|
||||
APP_VERSION = 2.24
|
||||
}
|
||||
|
||||
contains(QMAKE_HOST.arch, x86_64):{
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include <QDate>
|
||||
#include <QHash>
|
||||
#include <QQueue>
|
||||
#include <QRegularExpression>
|
||||
#include <QThread>
|
||||
#include <QTime>
|
||||
|
||||
|
@ -1205,7 +1206,7 @@ int CppParser::getTemplateParamStart(const QString &s, int startAt, int index) c
|
|||
int i = startAt+1;
|
||||
int count=0;
|
||||
while (count<index) {
|
||||
i = getTemplateParamEnd(s,i) + 2;
|
||||
i = getTemplateParamEnd(s,i)+1;
|
||||
count++;
|
||||
}
|
||||
return i;
|
||||
|
@ -2147,7 +2148,7 @@ QString CppParser::doFindTemplateParamOf(const QString &fileName, const QString
|
|||
i=getTemplateParamStart(s,i,index);
|
||||
int t=getTemplateParamEnd(s,i);
|
||||
//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;
|
||||
while ((position >= 0) && (s[position] == '*'
|
||||
|
|
|
@ -14,7 +14,7 @@ qsynedit.subdir = libs/qsynedit
|
|||
|
||||
APP_NAME = RedPandaCPP
|
||||
|
||||
APP_VERSION = 2.23
|
||||
APP_VERSION = 2.24
|
||||
|
||||
# Add the dependencies so that the RedPandaIDE project can add the depended programs
|
||||
# into the main app bundle
|
||||
|
|
Loading…
Reference in New Issue