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 00000000..21701dd2 Binary files /dev/null and b/RedPandaIDE/images/newlook64/091-openproblemanswer.png differ diff --git a/RedPandaIDE/images/newlook64/092-runallproblemcases.png b/RedPandaIDE/images/newlook64/092-runallproblemcases.png new file mode 100644 index 00000000..593a5e7d Binary files /dev/null and b/RedPandaIDE/images/newlook64/092-runallproblemcases.png differ diff --git a/RedPandaIDE/qsynedit/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 += "";