[plt-scheme] set-text for text%

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Aug 19 07:14:35 EDT 2008

At Tue, 19 Aug 2008 09:46:23 +0100, "Stephen De Gabrielle" wrote:
> Does anyone know how to set the contents of a whole text% editor
> object? (with a string)

Use `insert' with 0 for the starting position and the result of
`last-position' for the end position:

  (send e insert str 0 (send e last-position))


Posted on the users mailing list.