Path: utzoo!attcan!uunet!samsung!sdd.hp.com!ucsd!ucbvax!SHUM.HUJI.AC.IL!shmuli From: shmuli@SHUM.HUJI.AC.IL (Shmuel Browns) Newsgroups: comp.sys.mac.programmer Subject: Modifying Think C Classes to handle styled TE Keywords: OOP, ThinKC, class library, textedit Message-ID: <383@shum.huji.ac.il> Date: 9 Oct 90 15:02:38 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: shmuli@shum.huji.ac.il (Shmuel Browns) Organization: The Hebrew University of Jerusalem Lines: 13 I've just started looking at the Think C Class library - I've been modifying the TinyEdit application. Now I'd like to use the new TextEdit that handles styles. I think I can go into the CStaticText class and modify it to do that. But philosophically, is that right? I mean, should I create a new class say CStyleText that is a subclass of CPanorama to do it?? It seems a good idea to use styled TE for handling small chunks of text. I'm a bit concerned why no one else is doing it (am I on the wrong track?). In fact, why isn't styled TE supported by the class library?? Any comments would be appreciated. Shmuel ---