<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 26/05/2018 à 14:10, Samuel Gougeon a
écrit :<br>
</div>
<blockquote cite="mid:7b963591-5c30-934a-c6e1-568cbb226f2a@free.fr"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Le 25/05/2018 à 11:02, Samuel Gougeon
a écrit :<br>
</div>
<blockquote
cite="mid:63e19c5f-9d19-0f2b-5378-8eb5aca5fcf6@free.fr"
type="cite">Hello, <br>
<br>
Le 25/05/2018 à 10:45, Clément David a écrit : <br>
<blockquote type="cite">Hi, <br>
<br>
Thanks for your experimental work on that topic. I guess we
could merge the parser fix easily <br>
however the `!` usage to recall a previous command will remain
problematic. This usage does not seem <br>
to be documented somewhere in the help page, maybe we could
discard it. What's your opinion on that <br>
? <br>
</blockquote>
<br>
It is an historical and standard feature, used not only in
Scilab language. <br>
Please see the entry <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://bugzilla.scilab.org/10776">http://bugzilla.scilab.org/10776</a>
<br>
<br>
The only issue is that it is still undocumented. It could be
described in the Console's page. <br>
</blockquote>
<br>
"The only issue" : hmm, not really. Even if the missing
documentation is the main one, IMO this (already) very handy
feature could be improved in at least two ways:<br>
<ul>
<li>when no match is found in the history, nothing happens. For
people who does not know the feature (or who has forgotten
that it is available), this could be easily puzzling and felt
as a bug.<br>
=> <font color="#3333ff">when no match is found, Scilab
shall print a message "No match found in history"</font><br>
<br>
</li>
<li><font color="#3333ff">A listbox listing matches could be
displayed, to select the only entry searched fo</font>r.<br>
This might be done in two ways :<br>
<br>
</li>
<ul>
<li>either typing "!" + one char as the very first characters
would enter a completion mode based on the history, with
matches listed in a listbox as described hereabove<br>
<br>
</li>
<li>or this could be done only after validating with
<enter>, or CTRL+space as for the feature completion
(but here targeted to the history with the leading "!")<br>
</li>
</ul>
</ul>
If a completion mode is implemented, then the message "no match
found in history" could be displayed in the listbox instead of in
the console (note that the general feature completion triggered
with CTRL+space displays nothing when no match is found).<br>
</blockquote>
<br>
This request for improvements is now reported here:
<a class="moz-txt-link-freetext" href="http://bugzilla.scilab.org/15592">http://bugzilla.scilab.org/15592</a><br>
<br>
</body>
</html>