<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Ah, and of course, there is a stupid bug in one of my functions!<br>
A virtual croissant to the first one to spot it!</p>
<p>Antoine<br>
PS: BTW, it's one of the errors that should be easy to catch with
a proper argument highlighting...<br>
</p>
<div class="moz-cite-prefix">On 09/12/2020 15:09, Antoine Monmayrant
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:24db629c-624a-dbe0-5e17-87f14088ab39@laas.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hi all,</p>
<p>Scilab can use unicode characters (at least some) as variable
names.<br>
However, this does not play well with Scinotes syntax
highlighting in functions.<br>
In particular, input/output arguments are no longer highlighted
and local line number inside the function does no longer work as
expected.<br>
You can see the attached screenshot to better see what I mean.</p>
<p>Here is a bunch of function definitions that shows the issue:</p>
<blockquote>
<address>function [Sum, Diff] = AddSubs(arga, argb)</address>
<address> Sum=arga+argb;</address>
<address> Diff=arga-argb;</address>
<address>endfunction</address>
<address><br>
function [Sum, Diff] = AddSubs2(argα, argb)</address>
<address> Sum=argα+argb;</address>
<address> Diff=argα-argb;</address>
<address>endfunction</address>
<address><br>
function [Sum, Δ] = AddSubs(arga, argb)</address>
<address> Sum=arga+argb;</address>
<address> Diff=arga-argb;</address>
<address>endfunction</address>
</blockquote>
<p>Can anyone reproduce the issue?</p>
<p>Cheers,</p>
<p>Antoine<br>
</p>
<p><br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>