problems displaying descenders

Ken Ray kray at
Thu Sep 21 12:56:26 EDT 2006

On 9/21/06 8:20 AM, "rand valentine" <jrvalent at> wrote:

>  Hi. I have a stack that displays text in a field so that students can read
> it. However, if the I set the textSize of this field to a largish number,
> such as 80, 100, 120 (so it's big enough for a classroom of students to
> see), then _as I type_ the descenders of characters such as j and g are
> chopped off, until I finish typing. What setting will allow me to display
> the descenders as I type? I've tried adjusting the textHeight and margins,
> but neither seems to do anything. Thanks.

Put this script into the field you're typing in:

on keyUp
  put the selectedChunk into tChunk
  select empty
  select after char (word 4 of tChunk) of me
end keyUp

It makes the text flicker a bit as you're typing, but at least the
descenders show up.


Ken Ray
Sons of Thunder Software
Web site:
Email: kray at

More information about the Use-livecode mailing list