- change: Remove all breakpoints of the current non-project file, when it is closed.
This commit is contained in:
parent
457e84f86a
commit
3ede3e4ce6
5
NEWS.md
5
NEWS.md
|
@ -1,3 +1,8 @@
|
||||||
|
Red Panda C++ Version 2.13
|
||||||
|
|
||||||
|
- change: Remove all breakpoints of the current non-project file, when it is closed.
|
||||||
|
|
||||||
|
|
||||||
Red Panda C++ Version 2.13
|
Red Panda C++ Version 2.13
|
||||||
|
|
||||||
- fix: Only C/C++/GAS files can set breakpoints.
|
- fix: Only C/C++/GAS files can set breakpoints.
|
||||||
|
|
|
@ -10,7 +10,7 @@ isEmpty(APP_NAME) {
|
||||||
}
|
}
|
||||||
|
|
||||||
isEmpty(APP_VERSION) {
|
isEmpty(APP_VERSION) {
|
||||||
APP_VERSION = 2.13
|
APP_VERSION = 2.14
|
||||||
}
|
}
|
||||||
|
|
||||||
macos: {
|
macos: {
|
||||||
|
|
|
@ -180,9 +180,10 @@ bool EditorList::closeEditor(Editor* editor, bool transferFocus, bool force) {
|
||||||
PProjectUnit unit = pMainWindow->project()->findUnit(editor);
|
PProjectUnit unit = pMainWindow->project()->findUnit(editor);
|
||||||
pMainWindow->project()->closeUnit(unit);
|
pMainWindow->project()->closeUnit(unit);
|
||||||
} else {
|
} else {
|
||||||
if (pMainWindow->visitHistoryManager()->addFile(editor->filename())) {
|
if (!editor->isNew() && pMainWindow->visitHistoryManager()->addFile(editor->filename())) {
|
||||||
pMainWindow->rebuildOpenedFileHisotryMenu();
|
pMainWindow->rebuildOpenedFileHisotryMenu();
|
||||||
}
|
}
|
||||||
|
editor->clearBreakpoints();
|
||||||
doRemoveEditor(editor);
|
doRemoveEditor(editor);
|
||||||
}
|
}
|
||||||
updateLayout();
|
updateLayout();
|
||||||
|
|
|
@ -14,7 +14,7 @@ qsynedit.subdir = libs/qsynedit
|
||||||
|
|
||||||
APP_NAME = RedPandaCPP
|
APP_NAME = RedPandaCPP
|
||||||
|
|
||||||
APP_VERSION = 2.13
|
APP_VERSION = 2.14
|
||||||
|
|
||||||
# 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
|
||||||
|
|
Loading…
Reference in New Issue