<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Sylvestre,<br>
<br>
----- Message d'origine ----- <br>
De : Sylvestre KOUMAR <br>
Date : 20/04/2010 08:58:
<blockquote cite="mid:4BCD508D.9020100@scilab.org" type="cite">Hello,
  <br>
  <br>
Please find attached SEP #44 : Scilab History Browser.
  <br>
It deals about the new history browser which will be added to Scilab.
  <br>
  <br>
All questions  and comments are welcomed.
  <br>
</blockquote>
Sorry for the lag. Thank you for this very nice proposal.<br>
I am sure that all users will appreciate as i already do this Scilab's
increase <br>
of ergonomics, in addition to the previous ones (docking, atoms,
forthcoming <br>
improved browsevar, etc).<br>
Here are some mixed comments, questions, and suggestions about the <br>
version #1 that you posted 2 weeks ago.<br>
<br>
Look forward to discussing them in a constructive way witt all future <br>
users and developpers,<br>
<br>
Best regards<br>
Samuel<br>
<br>
----------------<br>
* About the <b>function's name</b>: Why not <i>browsehistory </i>(for
consistency with the already<br>
  existing <i>browsevar</i>), instead of <i>commandHistory</i> ? That
will be really a browser.<br>
<br>
* About the <b>displaying window</b>:<br>
  - Will there be one instruction per line, or one command line per
line, provided<br>
   that a command line may chain several instructions?<br>
  - How will comments be managed? Will they be displayed, or removed
from<br>
    the history and display (2 cases: commented line, and inline ending
comments)<br>
  - No scrollbar is described. One can guess that there will be at
least a vertical<br>
    scrollbar (despite that e.g. the ATOMS interface initially forgot
it). It would be<br>
    nice to include it in the SEP<br>
  - As well, management of the display of long lines is not mentionned.
This is a <br>
    major concern, since this interface will be mainly docked and
usually quite <br>
    narrowed. This can be managed either with a horizontal scroll bar
-- which is<br>
   usually quite boring --, or through a tooltip displaying the whole
line (which is<br>
   IMO much more handy).<br>
 - How will big litteral matrices entered with copy/past be displayed?<br>
 - Will for/end, try/end, if/end, while/end, select/end,
function/endfunction main blocks<br>
   be recursively foldable (as e.g. with Notepad++)? This would be a
useful<br>
   item, to copy/paste only coherent conditionnal or other blocks.<br>
   Sub-blocks starting with then, catch, else, elseif are more
difficult to detect/parse<br>
   and much less useful to fold.<br>
<br>
* About the <b>context menu</b>:<br>
  - The difference between <i>Cut</i> and <i>Delete</i> is not clear
for me. At first sight, they <br>
   appear as puzzling duplicates... Are they really useful together?<br>
  - To be added: The <i>'Help page for..."</i> action asked by
Sylvestre L. for Xpad<br>
    and implemented for it is really handy! It would be nice to have it
also in<br>
    <i>browsehistory</i> (noticeably because <i>browsehistory</i> can
be a useful tool for<br>
    building tutorials for students)<br>
 - Add an  <i>"Edit"</i> command opening Xpad for the first editable
function belonging<br>
   to the selection. In order to not get confused with the planned <i>"Edit
as text file"</i><br>
   action, this one could be renamed <i>"Send to the editor"</i><br>
 - A last suggestion would be to add a <i>"Hide/Show comments"</i>
action<br>
  (depending on how comments are considered)<br>
<br>
* About the <b>settings pannel</b>: Here is a list of ideas for
additional parameters:<br>
  - Display :<br>
    - Font size (for display)<br>
    - <font size="3">Do
not historize commands dragged and dropped from history (checkbox)</font><font
 size="3"><br>
    - Tag erroneous commands (checkbox)(indicated for a future version)</font><font
 size="3"></font><font size="3"><br>
</font><font size="3">    - Mask comments (chekbox)</font><font size="3"><br>
    - List one instruction per line (keeping "," and ";" separators.
removing ".." )(checkbox)</font><br>
<font size="3">    - Find: Display only matching lines (checkbox)</font><font
 size="3"><br>
</font>  - Printing:<br>
    - Font size<br>
    - Line numbering (checkbox)<br>
    - # of columns<br>
  - Adding a Tab to the config() interface (when this one will be
revisited :-)<br>
   presenting this pannel would be useful, to get it in a general
setting board.<br>
 <br>
  * Among the <b>evolution for future versions</b>: i am already
voting for<br>
   the <i>Warnings for statements</i>  and as a second choice for <br>
   <i>Syntactic colors</i> listed items.<br>
<br>
<br>
</body>
</html>