diff --git a/NEWS.md b/NEWS.md index b925f354..d36743c7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -23,6 +23,7 @@ Red Panda C++ Version 2.23 - improvement: Correctly expands multi-line macros when parsing; - improvement: Correctly eppands macros when real param string contains '(' or ')'. - enhancement: add "OI Wiki" and "turtle graphics tutorial" in help menu for zh_CN locale. + - fix: Replace panel should be hidden after finding occurrencies. Red Panda C++ Version 2.22 diff --git a/RedPandaIDE/compiler/executablerunner.cpp b/RedPandaIDE/compiler/executablerunner.cpp index 206bc828..db802ed4 100644 --- a/RedPandaIDE/compiler/executablerunner.cpp +++ b/RedPandaIDE/compiler/executablerunner.cpp @@ -135,7 +135,7 @@ void ExecutableRunner::run() args->flags &= ~CREATE_NO_WINDOW; } if (!mRedirectInput) { - args->startupInfo -> dwFlags &= ~STARTF_USESTDHANDLES; + args->startupInfo->dwFlags &= ~STARTF_USESTDHANDLES; } }); HANDLE hSharedMemory=INVALID_HANDLE_VALUE; diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index 6eca9f1e..c9303b4a 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -6757,7 +6757,7 @@ void MainWindow::on_actionFind_references_triggered() if (editor && editor->pointToCharLine(mEditorContextMenuPos,pos)) { CppRefacter refactor; refactor.findOccurence(editor,pos); - showSearchPanel(true); + showSearchPanel(false); } }