work save
This commit is contained in:
parent
8d880efd24
commit
2de2f1e162
|
@ -1752,18 +1752,19 @@ QStringList Editor::getExpressionAtPositionForCompletion(
|
|||
return result;
|
||||
break;
|
||||
case LastSymbolType::ParenthesisMatched: //before '()'
|
||||
if (token == ".") {
|
||||
lastSymbolType=LastSymbolType::ObjectMemberOperator;
|
||||
} else if (token=="->") {
|
||||
lastSymbolType = LastSymbolType::PointerMemberOperator;
|
||||
} else if (token == ".*") {
|
||||
lastSymbolType = LastSymbolType::PointerToMemberOfObjectOperator;
|
||||
} else if (token == "->*"){
|
||||
lastSymbolType = LastSymbolType::PointerToMemberOfPointerOperator;
|
||||
} else if (token==">") {
|
||||
lastSymbolType=LastSymbolType::MatchingAngleQuotation;
|
||||
symbolMatchingLevel=0;
|
||||
} else if (token == ")" ) {
|
||||
// if (token == ".") {
|
||||
// lastSymbolType=LastSymbolType::ObjectMemberOperator;
|
||||
// } else if (token=="->") {
|
||||
// lastSymbolType = LastSymbolType::PointerMemberOperator;
|
||||
// } else if (token == ".*") {
|
||||
// lastSymbolType = LastSymbolType::PointerToMemberOfObjectOperator;
|
||||
// } else if (token == "->*"){
|
||||
// lastSymbolType = LastSymbolType::PointerToMemberOfPointerOperator;
|
||||
// } else if (token==">") {
|
||||
// lastSymbolType=LastSymbolType::MatchingAngleQuotation;
|
||||
// symbolMatchingLevel=0;
|
||||
// } else
|
||||
if (token == ")" ) {
|
||||
lastSymbolType=LastSymbolType::MatchingParenthesis;
|
||||
symbolMatchingLevel = 0;
|
||||
} else if (token == "]") {
|
||||
|
|
|
@ -132,8 +132,9 @@ QList<PStatement> CppParser::getListOfFunctions(const QString &fileName, const Q
|
|||
PStatement CppParser::findAndScanBlockAt(const QString &filename, int line)
|
||||
{
|
||||
QMutexLocker locker(&mMutex);
|
||||
if (mParsing)
|
||||
if (mParsing) {
|
||||
return PStatement();
|
||||
}
|
||||
PFileIncludes fileIncludes = mPreprocessor.includesList().value(filename);
|
||||
if (!fileIncludes)
|
||||
return PStatement();
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
#define VERSION_H
|
||||
#include <QObject>
|
||||
|
||||
#define DEVCPP_VERSION "beta.0.11.0"
|
||||
#define DEVCPP_VERSION "beta.0.11.1"
|
||||
|
||||
#endif // VERSION_H
|
||||
|
|
Loading…
Reference in New Issue