diff --git a/NEWS.md b/NEWS.md index 3b8bc546..163889de 100644 --- a/NEWS.md +++ b/NEWS.md @@ -11,6 +11,7 @@ Red Panda C++ Version 2.25 - fix: Processing for #if/#elif/#else is not correct. - Change: Empty project template won't auto create main.c/main.cpp - enhancement: When creating project, warn user if the project folder is not empty. + - fix: Press '>' after '-' don't show completion suggestion info. Red Panda C++ Version 2.24 diff --git a/RedPandaIDE/editor.cpp b/RedPandaIDE/editor.cpp index 31c8c188..1c4168f4 100644 --- a/RedPandaIDE/editor.cpp +++ b/RedPandaIDE/editor.cpp @@ -1033,7 +1033,7 @@ void Editor::keyPressEvent(QKeyEvent *event) } case '<': case '>': - if (mParser) { + if (mParser && mParser->isIncludeLine(lineText())) { handled = handleSymbolCompletion(ch); return; }