add new icons
This commit is contained in:
parent
1f1c75cb1d
commit
f53f79559d
1
NEWS.md
1
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
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
|
@ -171,6 +171,27 @@ QString SynHTMLExporter::GetHeader()
|
|||
.arg(ColorToHTML(mForegroundColor))
|
||||
.arg(ColorToHTML(mBackgroundColor))
|
||||
.arg(Styles);
|
||||
if (mCreateHTMLFragment) {
|
||||
HTMLAsTextHeader = "<?xml version=\"1.0\" encoding=\"%2\"?>"+lineBreak() +
|
||||
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">" + lineBreak() +
|
||||
"<html xmlns=\"http://www.w3.org/1999/xhtml\">" + lineBreak() +
|
||||
"<head>"+ lineBreak() +
|
||||
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=%1\" />" + lineBreak() +
|
||||
"<meta name=\"generator\" content=\"SynEdit HTML exporter\" />" + lineBreak() +
|
||||
"<style type=\"text/css\">"+ lineBreak() +
|
||||
"<!--" + lineBreak() +
|
||||
"body { color: %2; background-color: %3; }"+ lineBreak() +
|
||||
"%4" +
|
||||
"-->" + lineBreak() +
|
||||
"</style>" + lineBreak() +
|
||||
"</head>" + lineBreak() +
|
||||
"<body>" + lineBreak();
|
||||
Header = HTMLAsTextHeader
|
||||
.arg(QString(mCharset))
|
||||
.arg(ColorToHTML(mForegroundColor))
|
||||
.arg(ColorToHTML(mBackgroundColor))
|
||||
.arg(Styles);
|
||||
}
|
||||
QString Result = Header;
|
||||
if (mCreateHTMLFragment) {
|
||||
Result += "<!--StartFragment-->";
|
||||
|
|
Loading…
Reference in New Issue