<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<font face="Courier New">Antoine,<br>
<br>
The continuation mark .. doesn't work within strings. Something
like this<br>
<br>
disp("Hello, .. <br>
world")<br>
<br>
produces an error (actually, two errors).<br>
<br>
I think it would be relatively simple to fix this syntax-highlighting
bug by just not letting that 2 dots trigger a change in syntax
color highlighting within a string.<br>
<br>
Indeed, as per the documentation (help dot) this seems to be the
only valid use of .. other than at the end of a line or followed
by a comment.<br>
<br>
If one runs</font><span style="color:rgb(0,0,0);">, for instance<br>
<br>
a</span> <span style="color:rgb(92,92,92);">=</span> <span
style="color:rgb(74,85,219);">[</span><span
style="color:rgb(188,106,143);">1</span> <span
style="color:rgb(188,106,143);">2</span> <span
style="color:rgb(188,106,143);">3</span> <span
style="color:rgb(255,170,0);">..</span> <span
style="color:rgb(188,106,143);">4</span> <span
style="color:rgb(188,106,143);">5</span> <span
style="color:rgb(188,106,143);">6</span><span
style="color:rgb(74,85,219);">]</span><font face="Courier New"><br>
<br>
the Console enters in a mode expecting something more (>
instead of -->), the same as in the case of a line with a for,
but I don't succeed finding how to finish except cancelling with
Ctrl-C.<br>
<br>
Regards,<br>
<br>
Federico Miyara<br>
<br>
<br>
</font>
<div class="moz-cite-prefix">On 12/04/2019 14:39, Antoine Monmayrant
wrote:<br>
</div>
<blockquote cite="mid:2d40-5cb0cd80-b-6b0d5f00@97556932" type="cite">
<pre wrap="">Hello,
I've seen the same with scinotes in 6.0.2, I don't remember seeing this in previous version.
What occurs is that scinotes interprets two dots ".." as the continuation mark and stops coloring the rest of the line as string.
(if you separate the two consecutive dots, the coloring is back to something nice).
Cheers,
Antoine
Le Vendredi, Avril 12, 2019 11:47 CEST, P M <a class="moz-txt-link-rfc2396E" href="mailto:p.muehlmann@gmail.com"><p.muehlmann@gmail.com></a> a écrit:
</pre>
<blockquote type="cite">
<pre wrap="">Dear all,
what is the reason that SciNotes changes the colour from
printf(".\n");
to
printf("...\n");
In fact colour changes already when printing 2 dots.
Though there is no error, its a bit confusing, since SciNotes indicates
that the leading quote sign is missing.
I searched the SciNotes settings (scilab 6.0.2), but didn't find a setting
that controls the appearance.
Thanks,
Philipp
</pre>
</blockquote>
<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>
<br>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Libre de virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>