Scinotes preview in preferences: 2 errors fixed 45/19745/3
Samuel GOUGEON [Sun, 11 Feb 2018 16:00:37 +0000 (17:00 +0100)]
 The email is intended to be a fake one (unless you are ready to
 expose more a true one).
 Anyway, the point is to have here a truly parsable email address.

Change-Id: I110587d3d9fbeeda0fcf28f1595e51fa05a3fe6d

scilab/modules/preferences/src/java/org/scilab/modules/preferences/Component/PreviewCode.java

index 53595c6..3907fb5 100644 (file)
@@ -65,10 +65,10 @@ public class PreviewCode extends Panel implements XComponent, XChooser {
         previewEditorPane.setEditorKit(kit);
         previewEditorPane.setFont(kit.getStylePreferences().tokenFonts[0]);
         String codeSample = "// A comment with whites    and tabulations \t\t\n"
-                            + "// Email: <support@@scilab-enterprises.com>\n"
+                            + "// Email: <contrib@scilab.org>\n"
                             + "// Scilab editor: http://www.scilab.io\n"
                             + "//\n"
-                            + "// LaTeX $$\\sum_{n=1}^{+\\infty}\\frac1{n^2}=\\frac{\\pi^2}6$$\n"
+                            + "// LaTeX $\\sum_{n=1}^{+\\infty}\\frac1{n^2}=\\frac{\\pi^2}6$\n"
                             + "// TODO: blah blah\n"
                             + "function [a, b] = myfunction(d, e, f)\n"
                             + "\ta = 2.71828 + %pi + f($, :);\n"