diff --git a/RedPandaIDE/parser/cppparser.cpp b/RedPandaIDE/parser/cppparser.cpp index c789bac9..18c60ef4 100644 --- a/RedPandaIDE/parser/cppparser.cpp +++ b/RedPandaIDE/parser/cppparser.cpp @@ -4943,12 +4943,6 @@ bool CppParser::splitLastMember(const QString &token, QString &lastMember, QStri return true; } -static bool isIdentChar(const QChar& ch) { - return ch.isLetter() - || ch == '_' - || ch.isDigit(); -} - //static void appendArgWord(QString& args, const QString& word) { // QString s=word.trimmed(); // if (s.isEmpty()) diff --git a/libs/qsynedit/qsynedit/SynEdit.cpp b/libs/qsynedit/qsynedit/SynEdit.cpp index 319b5349..d945803f 100644 --- a/libs/qsynedit/qsynedit/SynEdit.cpp +++ b/libs/qsynedit/qsynedit/SynEdit.cpp @@ -1957,23 +1957,6 @@ void SynEdit::doMouseScroll(bool isDragging) } BufferCoord vCaret = displayToBufferPos(C); if ((caretX() != vCaret.ch) || (caretY() != vCaret.line)) { -// if (mActiveSelectionMode == SelectionMode::Column) { -// int startLine=std::min(mBlockBegin.line,mBlockEnd.line); -// startLine = std::min(startLine,vCaret.line); -// int endLine=std::max(mBlockBegin.line,mBlockEnd.line); -// endLine = std::max(endLine,vCaret.line); - -// int currentCol=displayXY().Column; -// for (int i=startLine;i<=endLine;i++) { -// QString s = mDocument->getString(i-1); -// int cols = stringColumns(s,0); -// if (cols+1