Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!rochester!pt.cs.cmu.edu!andrew.cmu.edu!gf0c+ From: gf0c+@andrew.cmu.edu (Gregory S. Fox) Newsgroups: comp.sys.mac.programmer Subject: TE query: offsets & lines Message-ID: Date: 15 May 89 15:19:34 GMT Organization: Humanities and Social Sciences, Carnegie Mellon, Pittsburgh, PA Lines: 13 A question about TextEdit: The manager seems non-orthogonal in terms of interchangability of parameters. Specifically, if I want to scroll text with the updated manager, I need to know the size of the lines I'm scrolling off & on. TEGetStyle only returns the height & ascent for the style on a line, not the max values for the line. TEGetHeight would work, and there's the line height table, but no way to convert an offset into a line number. What am I missing here? Any suggestions on how to do this conversion efficiently? Thanks in advance for the help!!! -Greg