Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!uunet!cs.dal.ca!ug.cs.dal.ca!johnston From: johnston@ug.cs.dal.ca (Bruce Johnston) Newsgroups: comp.sys.mac.programmer Subject: Text Edit Question Message-ID: <1989Oct31.171247.279@ug.cs.dal.ca> Date: 31 Oct 89 17:12:47 GMT Organization: Math, Stats & CS, Dalhousie University, Halifax, NS, Canada Lines: 40 Thanks to those that responded to my scrolling question. Now I have another one (I just cant seem to follow the nuances of Inside Mac!) I want to create a pseudo programming-language editor. The language looks something like this: {proc a : stuff.... {proc b: stuff.... } stuff... } Now I read in text files in this form..... but when the main window appears I only want to show this much: {proc a :} I need to hide the rest of the data until later (the user wants to view it) So the question is....... If I set up another TErec for the other data, how do I hide it? I have an idea that I could set both the destination rect and the view rect to values off the screen and then they wont be shown. I could then copy data from that TErec to the one on the main window. Is this possible? Am I crazy? (at least about this idea!) Also if this is possible, then what would happen if I changed the destination and view rectangles to values within the screen. Would the text appear? Can you change those values? There... thats it I think... pretty messed up aren't I? 8-) Well If any body understands what I mean, and has any suggestions or help, I would really appreciate it. Thanx in advance -- Bruce Johnston Dalhousie University Halifax, Nova Scotia, CAnada. Disclaimer: I'm always right... and submarines have screen doors!