Matthew Flatt writes:

> At Wed, 10 Jan 2018 10:29:28 -0600, Christopher Lemmer Webber wrote:
>> I'm still not sure how to find out what the "total" height of the text
>> is in an editor.  Does anyone know how to look that up?
> I think the `get-extent` method will report the size you want.

Thank you so much!  That plus the vertical-inset info gave me what I

(let ((h-box (box 0)))
  (send test-text2 get-extent #f h-box)
  (send test-ec min-height (+ (inexact->exact (unbox h-box))
                              (* (send test-ec vertical-inset) 2)))
  (send test-ec stretchable-height #f))

You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to