diff --git a/NEWS.md b/NEWS.md index 8baa2317..fe773542 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,6 @@ +Version 0.7.2 + - fix: rainbow parenthesis stop functioning when change editor's general options + Version 0.7.1 - fix: can't add bookmark at a breakpoint line - fix: app name in the title bar not translated diff --git a/RedPandaIDE/editor.cpp b/RedPandaIDE/editor.cpp index 0f433b16..c1926091 100644 --- a/RedPandaIDE/editor.cpp +++ b/RedPandaIDE/editor.cpp @@ -3637,6 +3637,8 @@ void Editor::applySettings() options.setFlag(eoScrollPastEof,pSettings->editor().scrollPastEof()); options.setFlag(eoScrollByOneLess,pSettings->editor().scrollByOneLess()); options.setFlag(eoHalfPageScroll,pSettings->editor().halfPageScroll()); + options.setFlag(eoHalfPageScroll,pSettings->editor().halfPageScroll()); + options.setFlag(eoShowRainbowColor, pSettings->editor().rainbowParenthesis()); setOptions(options); setTabWidth(pSettings->editor().tabWidth()); diff --git a/RedPandaIDE/widgets/darkfusionstyle.cpp b/RedPandaIDE/widgets/darkfusionstyle.cpp index 06beab32..f05afe04 100644 --- a/RedPandaIDE/widgets/darkfusionstyle.cpp +++ b/RedPandaIDE/widgets/darkfusionstyle.cpp @@ -114,7 +114,7 @@ static bool isMacSystemPalette(const QPalette &pal){ // Used for grip handles static QColor calcDarkShade() { - return QColor(255, 255, 255, 90); + return QColor(255, 255, 255, 150); } static QColor calcLightShade() { return QColor(0, 0, 0, 60);