[plt-scheme] text% and cursors

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu May 11 15:12:33 EDT 2006

At Thu, 11 May 2006 13:57:54 -0500, "Corey Sweeney" wrote:
> In a text% i've found the method "get-position" which gets the position of
> the current selection, but how does one get the current position of the
> cursor?  All the methods i've found with "cursor" in their name seem to be
> about changing cursor graphics.

There's not currently way to get the cursor location. Instead, the
model is that cursor movement is reported to a window (or text%) as a
mouse event through the `on-event' method.

Matthew



Posted on the users mailing list.