Completed the small set of command extensions to make sure all

commands that make use of the pointer position have an equivalent
command that operates solely on layout coordinates, or otherwise
avoids needing a pointer position.  Added the command option
"down <instance>" to avoid using the pointer to disambiguate
selections.  Added the command option "select ... at x y" to
do paint or cell selections at a specific coordinate instead of
the pointer position.
This commit is contained in:
Tim Edwards
2023-07-08 13:59:00 -04:00
parent d3b314d877
commit 3890181ebe
4 changed files with 94 additions and 27 deletions
+8 -6
View File
@@ -20,20 +20,22 @@
<H2>down</H2>
<HR>
Load selected cell into a window
Load selected or indicated cell into a window
<HR>
<H3>Usage:</H3>
<BLOCKQUOTE>
<B>down</B>
<B>down</B> [<I>instance</I>]
</BLOCKQUOTE>
<H3>Summary:</H3>
<BLOCKQUOTE>
The <B>down</B> command loads the currently selected cell into the
window. If more than one cell is selected, the one closest to the
cursor (pointer) position will be used, or at worst, one will be
selected arbitrarily.
With no arguments, the <B>down</B> command loads the currently
selected cell into the window. If more than one cell is selected,
the one closest to the cursor (pointer) position will be used, or at
worst, one will be selected arbitrarily. <BR><BR>
With one argument <I>instance</I>, the cell of the instance named
<I>instance</I> will be loaded into the window.
</BLOCKQUOTE>
<H3>Implementation Notes:</H3>