" + foregroundFont + TextToHtml(w) + "\n");
- int linenr = 0;
- bool multiline = false;
- foreach (string line in lines)
- {
- ++linenr;
- file.Write(lineNumberFont + (linenr.ToString() + " ").Substring(0, 8) + "");
-
- for (int i = 0; i < line.Length;)
- {
- if (line[i] == ' ')
- {
- file.Write(line[i]);
- i++;
- }
- else if (multiline)
- {
- string currentToken = "";
- while (i < line.Length && multiline)
- {
- currentToken += line[i];
- i++;
- if (currentToken.EndsWith("*/"))
- multiline = false;
- }
- file.Write(multiLineCommentFont + TextToHtml(currentToken) + "");
- }
- else if (IsNameChar(line[i]))
- {
- string currentToken = "";
- while (i < line.Length && IsNameChar(line[i]))
- {
- currentToken += line[i];
- i++;
- }
- if (currentToken == symbolName)
- file.Write(symbolFont + currentToken + "");
- else if (keywords.Contains(currentToken))
- file.Write(keywordFont + currentToken + "");
- else if (currentToken[0] >= '0' && currentToken[0] <= '9')
- file.Write(numberFont + currentToken + "");
- else
- file.Write(currentToken);
- }
- else if (line[i] == '\"' || line[i] == '\'')
- {
- string currentToken = "";
- while (i < line.Length)
- {
- currentToken += line[i];
- i++;
- if (currentToken.Length > 1 && currentToken[0] == line[i - 1])
- break;
- }
- file.Write(stringFont + TextToHtml(currentToken) + "");
- }
- else if (line[i] == '/' && i + 1 < line.Length && line[i + 1] == '/')
- {
- file.Write(singleLineCommentFont + TextToHtml(line.Substring(i)) + "");
- i = line.Length;
- }
- else if (line[i] == '/' && i + 1 < line.Length && line[i + 1] == '*')
- {
- multiline = true;
- string currentToken = "/*";
- i += 2;
- while (i < line.Length && multiline)
- {
- currentToken += line[i];
- i++;
- if (currentToken.Length > 3 && currentToken.EndsWith("*/"))
- multiline = false;
- }
- file.Write(multiLineCommentFont + TextToHtml(currentToken) + "");
- }
- else
- {
- file.Write(TextToHtml(line.Substring(i, 1)));
- i++;
- }
- }
- file.Write('\n');
-
- if (errorLine == linenr)
- file.WriteLine("| " + TextToHtml(errorMessage) + " |
Package: {0}
", @"ftp://ftp.se.debian.org/debian/pool/main/f/firefox/firefox_59.0~b4.orig.tar.bz2"); - file.WriteLine("+ Added warnings {0}
", added.Count); - file.WriteLine("- Removed warnings {0}
", removed.Count); - - file.WriteLine(""); - - string[] title = { "Added warnings", "Removed warnings" }; - List");
- foreach (string w in warnings[i])
- {
- string filename = "code" + fileIndex.ToString() + ".html";
- fileIndex++;
- writeSourceFile(path, w, "html/" + filename);
- file.WriteLine("{1}", filename, TextToHtml(w));
- }
- file.WriteLine("");
- }
-
- file.WriteLine("");
- file.WriteLine("");
- }
- }
- }
-}
+ file.WriteLine("");
+ file.WriteLine("");
+ file.WriteLine("" + foregroundFont + TextToHtml(w) + "\n");
+ int linenr = 0;
+ bool multiline = false;
+ foreach (string line in lines)
+ {
+ ++linenr;
+ file.Write(lineNumberFont + (linenr.ToString() + " ").Substring(0, 8) + "| " + TextToHtml(errorMessage) + " |
Package: {0}
", @"ftp://ftp.se.debian.org/debian/pool/main/f/firefox/firefox_59.0~b4.orig.tar.bz2"); + file.WriteLine("+ Added warnings {0}
", added.Count); + file.WriteLine("- Removed warnings {0}
", removed.Count); + + file.WriteLine(""); + + string[] title = { "Added warnings", "Removed warnings" }; + List");
+ foreach (string w in warnings[i])
+ {
+ string filename = "code" + fileIndex.ToString() + ".html";
+ fileIndex++;
+ writeSourceFile(path, w, "html/" + filename);
+ file.WriteLine("{1}", filename, TextToHtml(w));
+ }
+ file.WriteLine("");
+ }
+
+ file.WriteLine("");
+ file.WriteLine("");
+ }
+ }
+ }
+}
diff --git a/tools/dmake.sln b/tools/dmake.sln
index e3a1f1e9dc3..7c065aa6d59 100644
--- a/tools/dmake.sln
+++ b/tools/dmake.sln
@@ -1,25 +1,25 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-VisualStudioVersion = 16.0.29519.87
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dmake", "dmake.vcxproj", "{19EC86CD-0004-4917-B852-E6BD110B6E6F}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Debug|Win32.ActiveCfg = Debug|Win32
- {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Debug|Win32.Build.0 = Debug|Win32
- {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Release|Win32.ActiveCfg = Release|Win32
- {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {3C0A1D1C-BDE8-453D-9FB3-EC4DEB9BC733}
- EndGlobalSection
-EndGlobal
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29519.87
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dmake", "dmake.vcxproj", "{19EC86CD-0004-4917-B852-E6BD110B6E6F}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Debug|Win32.ActiveCfg = Debug|Win32
+ {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Debug|Win32.Build.0 = Debug|Win32
+ {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Release|Win32.ActiveCfg = Release|Win32
+ {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {3C0A1D1C-BDE8-453D-9FB3-EC4DEB9BC733}
+ EndGlobalSection
+EndGlobal
diff --git a/tools/dmake.vcxproj b/tools/dmake.vcxproj
index 2cebf596fb4..5c50dcb32b5 100644
--- a/tools/dmake.vcxproj
+++ b/tools/dmake.vcxproj
@@ -1,116 +1,116 @@
-
-