Scinotes preview/prefs no longer shew a macro name 02/18302/3
Samuel GOUGEON [Sat, 25 Jun 2016 03:50:34 +0000 (05:50 +0200)]
Change-Id: Ib5df7e66b87c8b6f38d7d28b4b7097927a18084c

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

index 0b59442..6d039d8 100644 (file)
@@ -72,7 +72,7 @@ public class PreviewCode extends Panel implements XComponent, XChooser {
                             + "// TODO: blah blah\n"
                             + "function [a, b] = myfunction(d, e, f)\n"
                             + "\ta = 2.71828 + %pi + f($, :);\n"
-                            + "\tb = cos(a) + cosh(a) + \"$\\frac12$\";\n"
+                            + "\tb = cos(a) + sind(a) + \"$\\frac12$\";\n"
                             + "\tif d == e then\n"
                             + "\t\tb = 10 - e.field;\n"
                             + "\telse\n"