- editors that not in the editing panel shouldn't trigger switch breakpoint
- editors that not in the editing panel shouldn't show context menu
This commit is contained in:
parent
798607fba0
commit
0018ed5d7d
6
NEWS.md
6
NEWS.md
|
@ -1,3 +1,9 @@
|
|||
Red Panda C++ Version 2.1
|
||||
|
||||
- editors that not in the editing panel shouldn't trigger switch breakpoint
|
||||
- editors that not in the editing panel shouldn't show context menu
|
||||
|
||||
|
||||
Red Panda C++ Version 2.0
|
||||
|
||||
- redesign the project parser, more efficient and correct
|
||||
|
|
|
@ -10,7 +10,7 @@ isEmpty(APP_NAME) {
|
|||
}
|
||||
|
||||
isEmpty(APP_VERSION) {
|
||||
APP_VERSION = 2.0
|
||||
APP_VERSION = 2.1
|
||||
}
|
||||
|
||||
macos: {
|
||||
|
|
|
@ -147,7 +147,9 @@ Editor::Editor(QWidget *parent, const QString& filename,
|
|||
//mLineAfterTabStop = "";
|
||||
|
||||
connect(this,&SynEdit::statusChanged,this,&Editor::onStatusChanged);
|
||||
connect(this,&SynEdit::gutterClicked,this,&Editor::onGutterClicked);
|
||||
|
||||
if (mParentPageControl)
|
||||
connect(this,&SynEdit::gutterClicked,this,&Editor::onGutterClicked);
|
||||
|
||||
onStatusChanged(QSynedit::StatusChange::scOpenFile);
|
||||
|
||||
|
@ -159,7 +161,9 @@ Editor::Editor(QWidget *parent, const QString& filename,
|
|||
this, &Editor::onLinesInserted);
|
||||
|
||||
setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
connect(this, &QWidget::customContextMenuRequested,
|
||||
|
||||
if (mParentPageControl)
|
||||
connect(this, &QWidget::customContextMenuRequested,
|
||||
pMainWindow, &MainWindow::onEditorContextMenu);
|
||||
|
||||
mCanAutoSave = false;
|
||||
|
@ -171,19 +175,23 @@ Editor::Editor(QWidget *parent, const QString& filename,
|
|||
mCanAutoSave = true;
|
||||
}
|
||||
}
|
||||
if (!isNew && parentPageControl!=nullptr) {
|
||||
if (!isNew && parentPageControl) {
|
||||
resetBookmarks();
|
||||
resetBreakpoints();
|
||||
}
|
||||
|
||||
mStatementColors = pMainWindow->statementColors();
|
||||
if (mParentPageControl!=nullptr) {
|
||||
if (mParentPageControl) {
|
||||
mParentPageControl->addTab(this,"");
|
||||
updateCaption();
|
||||
}
|
||||
|
||||
if (mParentPageControl==nullptr) {
|
||||
setExtraKeystrokes();
|
||||
}
|
||||
connect(&mFunctionTipTimer, &QTimer::timeout,
|
||||
|
||||
if (mParentPageControl)
|
||||
connect(&mFunctionTipTimer, &QTimer::timeout,
|
||||
this, &Editor::onFunctionTipsTimer);
|
||||
|
||||
connect(horizontalScrollBar(), &QScrollBar::valueChanged,
|
||||
|
|
|
@ -33,7 +33,7 @@ RedPandaIDE.depends += redpanda-git-askpass
|
|||
|
||||
APP_NAME = RedPandaCPP
|
||||
|
||||
APP_VERSION = 2.0
|
||||
APP_VERSION = 2.1
|
||||
|
||||
linux: {
|
||||
isEmpty(PREFIX) {
|
||||
|
|
Loading…
Reference in New Issue