Bowerbird wrote: > put the text into an edit field of the right width, > an edit field that is located outside the window. > > then test for the height of the edit field > to calculate the number of lines it contains. The Mac does that for ya. There is an item in the TextEdit record which already indicates the number of lines in the edit field. TEHndl&=TEHANDLE(theFld) numLines% = TEHndl&..teNLines% - Rick