Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!cornell!uw-beaver!microsoft!t-benw From: t-benw@microsoft.UUCP (Benjamin Waldmin) Newsgroups: comp.sys.mac.programmer Subject: textedit Summary: textedit question Keywords: textedit Message-ID: <1751@microsoft.UUCP> Date: 23 Aug 88 23:59:44 GMT Reply-To: t-mjstaw@microsoft.uucp (Michael J. Staw) Organization: Microsoft Corporation, Redmond, WA Lines: 14 Does anyone know a good way to determine the index of the first and the last visible line in a textedit window? I would like to be able to scroll the window up by one line when the user clicks in the down arrow of the scroll bar. What I really need to know is the height of the first line that has "fallen" off the bottom of the window. I would like to use Apple's default clickloop if possible. Thanks alot, Michael Staw uw-beaver!microsoft!t-mjstaw