- Enhancement: Disable reformat code for non-C/C++ files.

This commit is contained in:
Roy Qu 2023-02-18 22:09:14 +08:00
parent 57c4c5bc98
commit 242f8a742e
3 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@ Red Panda C++ Version 2.13
- fix: Only C/C++/GAS files can set breakpoints. - fix: Only C/C++/GAS files can set breakpoints.
- Enhancement: Don't show breakpoints/watch related menuitems in context menu for non-C/C++/GAS files. - Enhancement: Don't show breakpoints/watch related menuitems in context menu for non-C/C++/GAS files.
- Enhancement: Disable reformat code for non-C/C++ files.
Red Panda C++ Version 2.12 Red Panda C++ Version 2.12

View File

@ -624,7 +624,7 @@ void MainWindow::updateEditorActions(const Editor *e)
ui->actionFind_Previous->setEnabled(true); ui->actionFind_Previous->setEnabled(true);
//code //code
ui->actionReformat_Code->setEnabled(true); ui->actionReformat_Code->setEnabled(isCFile(e->filename()) || isHFile(e->filename()));
ui->actionClose->setEnabled(true); ui->actionClose->setEnabled(true);
ui->actionClose_All->setEnabled(true); ui->actionClose_All->setEnabled(true);

View File

@ -14,7 +14,7 @@ qsynedit.subdir = libs/qsynedit
APP_NAME = RedPandaCPP APP_NAME = RedPandaCPP
APP_VERSION = 2.12 APP_VERSION = 2.13
# Add the dependencies so that the RedPandaIDE project can add the depended programs # Add the dependencies so that the RedPandaIDE project can add the depended programs
# into the main app bundle # into the main app bundle