[Scilab-users] unicode in variable names and Scinotes syntax highlighting

Antoine Monmayrant antoine.monmayrant at laas.fr
Wed Dec 9 15:09:38 CET 2020


Hi all,

Scilab can use unicode characters (at least some) as variable names.
However, this does not play well with Scinotes syntax highlighting in 
functions.
In particular, input/output arguments are no longer highlighted and 
local line number inside the function does no longer work as expected.
You can see the attached screenshot to better see what I mean.

Here is a bunch of function definitions that shows the issue:

    function [Sum, Diff] = AddSubs(arga, argb)

         Sum=arga+argb;

         Diff=arga-argb;

    endfunction


    function [Sum, Diff] = AddSubs2(argα, argb)

         Sum=argα+argb;

         Diff=argα-argb;

    endfunction


    function [Sum, Δ] = AddSubs(arga, argb)

         Sum=arga+argb;

         Diff=arga-argb;

    endfunction

Can anyone reproduce the issue?

Cheers,

Antoine


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20201209/d475f6d9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scinotes_unicode.png
Type: image/png
Size: 26760 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20201209/d475f6d9/attachment.png>


More information about the users mailing list