From f53f79559dd971db38cbca77ddacc4ce684a4c03 Mon Sep 17 00:00:00 2001 From: royqh1979 Date: Sat, 6 Nov 2021 18:31:48 +0800 Subject: [PATCH] add new icons --- NEWS.md | 1 + .../newlook64/091-openproblemanswer.png | Bin 0 -> 3131 bytes .../newlook64/092-runallproblemcases.png | Bin 0 -> 3255 bytes .../qsynedit/exporter/synhtmlexporter.cpp | 21 ++++++++++++++++++ 4 files changed, 22 insertions(+) create mode 100644 RedPandaIDE/images/newlook64/091-openproblemanswer.png create mode 100644 RedPandaIDE/images/newlook64/092-runallproblemcases.png diff --git a/NEWS.md b/NEWS.md index 353863b8..f2c95de8 100644 --- a/NEWS.md +++ b/NEWS.md @@ -8,6 +8,7 @@ Version 0.8.1 For Dev-C++ 7 Beta - enhancement: open the problem's answer source file in editor - fix: if the proceeding line is a comment, current line should not recalculate indent - fix: if the proceeding line ends with ':' in comments, current line should not indent + - enhancement: right click the problem set name label to rename it Version 0.8 For Dev-C++ 7 Beta - fix: find in the current file is not correcly saved in the search history diff --git a/RedPandaIDE/images/newlook64/091-openproblemanswer.png b/RedPandaIDE/images/newlook64/091-openproblemanswer.png new file mode 100644 index 0000000000000000000000000000000000000000..21701dd2211e274da8188c77da5be434a87d7263 GIT binary patch literal 3131 zcmV-B48-$^P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D3(!eKK~#8N?OS_{ zRA&`G^IB$L7dD2{HrVL0)LLGqtU^drYIVaafoPf-t9^hGNHmgYH0<&RQB%Rh5@4(N zpeeLq4c5ej{?V-=CDqg*MMAo?lxR!J5_#joK4x~Fp5OVtbMH5IXO^Aa8KBbNa^{@x zyWiaV{mwbxBJE=T!%UIfP=YL5lw z&ZYGbT)V%&pE8*YMIsTAY15|JmL6(12e_RHg+e0Xa9H$Mq36)^0`B$Tm~1v%WJ4-N z)rSB&<92#1fHNV8EHr@gYgRxIeI-9QI4Er@LB$Tx3nTpiTo@hFp#W$Hs{wVUI>FTd zuAfe)J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~RLE9yr$@jlgu<5SWaWIRF~VOwXC z-9%gttMG9h2q+@TlH#mEQp-wO>aF+)M!i%PfIRx_f3ac*AnN#!3HY6!`40*pWKRgi zVwDfnA^M(En6sn-4BOW60Gj#anKbuXQXX|Eqh5q7Jb+v<-AhSv2IysngL@S^dGe&( z>S7om0|o{LhWui4w7`44_{7OHW9fJ4j^-AbA0e^>WCPkSvjfsedgYl_yc0~*o;{0Y zlf$(vAgQ8d=sX=ca)s|dPSM4S=CL@waXl0{0I#Ir0R0s=G@MZlzyY}DA6NegiqyrW z&h6lk-tzT(FaL+z?GeEUb&Lttder&4mf)BsE~$W9;mhhZZJmY z0Cy!oHbCDf01V{{x_U VDIZfe+)w}j002ovPDHLkV1l(@{JH=D literal 0 HcmV?d00001 diff --git a/RedPandaIDE/images/newlook64/092-runallproblemcases.png b/RedPandaIDE/images/newlook64/092-runallproblemcases.png new file mode 100644 index 0000000000000000000000000000000000000000..593a5e7de8c565c381eccaa789083f59f1a65b27 GIT binary patch literal 3255 zcmV;o3`p~dP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D3`|KxK~#8N?OS_{ zj@cQ1K7(P`T`dOFDp86MC1L0YNfS-jx@M(uYY-B{%uqXmw%Jg0y4G~rDE-40iKt6T zH*M0WmLfu$G>Fm~_siHB7K1Tn`1<^w=bZOD-@M;^*SU0Sf8)I8oadbPJ6o4EFw0Or)NdXuPmPWFJyY+@p0>*&i zkuc`VmoFtjA@Lw31z>Opi@}iBtTzOjG-={_9t6iUK&q&y5Lztw=ETH_6Z>UnXI~sX zeE5W{tgO!r*&@uOnB!mofc9_SzAa@J)(OC)dIVdGuk55kMFMbg$B!RR!-fs}Szcb=u@)^_95Zds(9slN znL>$~336ZzfN>*$0eE-hWrW(KEd5Ppm16F3n!UENvNCV#K>;I2jug5Bdxr-ffzglC zMHISs?@l>6IiHUkH!f@N;K9XA(vb|{a;^gI+<^kjBfXy1)`n{XlvpiZ1=dA9tcU(H zK#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synedit/exporter/synhtmlexporter.cpp b/RedPandaIDE/qsynedit/exporter/synhtmlexporter.cpp index 24248908..5d61ad24 100644 --- a/RedPandaIDE/qsynedit/exporter/synhtmlexporter.cpp +++ b/RedPandaIDE/qsynedit/exporter/synhtmlexporter.cpp @@ -171,6 +171,27 @@ QString SynHTMLExporter::GetHeader() .arg(ColorToHTML(mForegroundColor)) .arg(ColorToHTML(mBackgroundColor)) .arg(Styles); + if (mCreateHTMLFragment) { + HTMLAsTextHeader = ""+lineBreak() + + "" + lineBreak() + + "" + lineBreak() + + ""+ lineBreak() + + "" + lineBreak() + + "" + lineBreak() + + "" + lineBreak() + + "" + lineBreak() + + "" + lineBreak(); + Header = HTMLAsTextHeader + .arg(QString(mCharset)) + .arg(ColorToHTML(mForegroundColor)) + .arg(ColorToHTML(mBackgroundColor)) + .arg(Styles); + } QString Result = Header; if (mCreateHTMLFragment) { Result += "";