- fix: Press '>' after '-' don't show completion suggestion info.

This commit is contained in:
Roy Qu 2023-10-09 18:20:48 +08:00
parent 6016065b58
commit 571f18ee54
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -1033,7 +1033,7 @@ void Editor::keyPressEvent(QKeyEvent *event)
}
case '<':
case '>':
if (mParser) {
if (mParser && mParser->isIncludeLine(lineText())) {
handled = handleSymbolCompletion(ch);
return;
}