From f274d7f208b520e69211c4ae2236617aa428939a Mon Sep 17 00:00:00 2001 From: royqh1979 Date: Fri, 19 Nov 2021 07:52:36 +0800 Subject: [PATCH] - fix: problem set & problem views not correctly hidden when disabled in the general / problem set options --- NEWS.md | 2 ++ RedPandaIDE/RedPandaIDE_zh_CN.qm | Bin 105685 -> 105699 bytes RedPandaIDE/RedPandaIDE_zh_CN.ts | 4 ++-- RedPandaIDE/mainwindow.cpp | 8 +++++--- RedPandaIDE/qsynedit/SynEdit.cpp | 3 ++- RedPandaIDE/widgets/cpudialog.cpp | 2 +- 6 files changed, 12 insertions(+), 7 deletions(-) diff --git a/NEWS.md b/NEWS.md index 8628c40b..60887512 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ Version 0.9.2 For Dev-C++ 7 Beta - fix: console program that needs input may crash + - fix: gutter of the disassembly code control in the cpu info dialog is grayed + - fix: problem set & problem views not correctly hidden when disabled in the general / problem set options Version 0.9.1 For Dev-C++ 7 Beta - enhancement: code completion suggestion for "__func__" variable diff --git a/RedPandaIDE/RedPandaIDE_zh_CN.qm b/RedPandaIDE/RedPandaIDE_zh_CN.qm index 5b733830380f63b4033381f00ca0881917a6107c..743bdf76743bd13efbc9e6004791f6c7e805b093 100644 GIT binary patch delta 9150 zcmXY1c|c6x`+m>NU1qs6BeaNwq-@!j$Qo_PR;ZM;ASz_}SQ`piBO|h}$&wIRN=YGn z5Fh)NC1uI-RkF+PG4uQDnYqoq=bZOE@AE$Ix!pM}l%5vWG}HGd;?@yenFve?tR&|AoQSVY%q0rgooIG~34c`^k@@}v4#wZV00W3R z2OE)vFC=QGB}z)I$7&~?wbaih^6X7?`5Lef5chlb#ke*^UZaWjo-|?F7~pxLLX1DK z6VaBpM1wMkw)G_PDI&V(MC6x8^agYFk0knyd;MdGDjO07tiW>wqA`WU-1ida;D_J! zBrbF|F)s-p);A>@@`AY3RHD--iQ9`wohc(Oha z>zol8r#GRpw+U4jOsMuYp=O^6z0B5_K3LQ>V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cGZb3z-~ zAHBl<>)P>GU*c5Zxieb~%1PpsNS8pUw=zzfiQ%{)mvH0DlGIkoRRP?ax3+Rj=nJzFe*S zS>k~8dg>%S?9@}P(=-af7H-isZH#!f-K}f638qhR)^!~Kd*+VQ*pE{<&N?&T1slxO836hH|{Sv(kkxz@h@$>%#Z=;M}gUZc1J()Zo2t zTJ>7o|5-P?03F-P3%Ug_{c%>5q+4=q3t}Quw?c;BZ*teI?228QwndlP9I?_V(!?KD zMlyZ_pCSU78|6iy@#}PB1!k+8Dyh(U)_f{+34^i zbYJ#0#KGfL-M6t;=qC^9eg?x$g40pJ#JTKW+InrU+H7>2uq2O Check when count of lines changed - 在文件函数变化时检查 + 在文件行数或者光标所在行变化时检查 @@ -7101,7 +7101,7 @@ Are you really want to continue? Highlight - 高亮显示 + 高亮显示 diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index 1afc24fa..34410dd6 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -534,7 +534,7 @@ void MainWindow::applySettings() if (!mTcpServer.listen(QHostAddress::LocalHost,pSettings->executor().competivieCompanionPort())) { // QMessageBox::critical(nullptr, // tr("Listen failed"), -// tr("Can't listen to port %1 form Competitve Companion.").arg(10045) +// tr("Can't listen to port %1 form Competitive Companion.").arg(10045) // + "
" // +tr("You can turn off competitive companion support in the Problem Set options.") // + "
" @@ -574,7 +574,8 @@ void MainWindow::applyUISettings() ui->actionFiles->setChecked(settings.showFiles()); showHideInfosTab(ui->tabFiles,settings.showFiles()); ui->actionProblem_Set->setChecked(settings.showProblemSet()); - showHideInfosTab(ui->tabProblemSet,settings.showProblemSet()); + showHideInfosTab(ui->tabProblemSet,settings.showProblemSet() + && pSettings->executor().enableProblemSet()); ui->actionIssues->setChecked(settings.showIssues()); showHideMessagesTab(ui->tabIssues,settings.showIssues()); @@ -589,7 +590,8 @@ void MainWindow::applyUISettings() ui->actionBookmark->setChecked(settings.showBookmark()); showHideMessagesTab(ui->tabBookmark,settings.showBookmark()); ui->actionProblem->setChecked(settings.showProblem()); - showHideMessagesTab(ui->tabProblem,settings.showProblem()); + showHideMessagesTab(ui->tabProblem,settings.showProblem() + && pSettings->executor().enableProblemSet()); //we can't show/hide left/bottom panels here, cause mainwindow layout is not calculated } diff --git a/RedPandaIDE/qsynedit/SynEdit.cpp b/RedPandaIDE/qsynedit/SynEdit.cpp index 155ae4f3..fafc06e4 100644 --- a/RedPandaIDE/qsynedit/SynEdit.cpp +++ b/RedPandaIDE/qsynedit/SynEdit.cpp @@ -119,7 +119,8 @@ SynEdit::SynEdit(QWidget *parent) : QAbstractScrollArea(parent) mBlockEnd = mBlockBegin; mOptions = eoAutoIndent | eoDragDropEditing | eoEnhanceEndKey | eoTabIndent | - eoGroupUndo | eoKeepCaretX | eoSelectWordByDblClick; + eoGroupUndo | eoKeepCaretX | eoSelectWordByDblClick + | eoHideShowScrollbars ; mScrollTimer = new QTimer(this); mScrollTimer->setInterval(100); diff --git a/RedPandaIDE/widgets/cpudialog.cpp b/RedPandaIDE/widgets/cpudialog.cpp index ccf1281c..75d8ff4d 100644 --- a/RedPandaIDE/widgets/cpudialog.cpp +++ b/RedPandaIDE/widgets/cpudialog.cpp @@ -19,7 +19,7 @@ CPUDialog::CPUDialog(QWidget *parent) : ui->txtCode->codeFolding().indentGuides = false; ui->txtCode->codeFolding().fillIndents = false; - ui->txtCode->setRightEdge(0); + ui->txtCode->setGutterWidth(0); ui->txtCode->setUseCodeFolding(false); highlighterManager.applyColorScheme(ui->txtCode->highlighter(), pSettings->editor().colorScheme());