Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!ads.com!potomac.ads.com!jtn From: jtn@potomac.ads.com (John T. Nelson) Newsgroups: comp.sys.mac.programmer Subject: Interesting problem hiliting text Message-ID: <1991Jun17.200703.7094@potomac.ads.com> Date: 17 Jun 91 20:07:03 GMT Organization: Advanced Decision Systems, Arlington, VA Lines: 21 Interestingly enough it appears that you cannot hilite multiple fields within TE package windows. I have an application where I would like to hilite various words in a body of text based on, let's say a list of locations and word lengths. It seems I'll have to go down to the quickdraw level to do this. Has anyone tackled this problem before? You got code sailor boy? It seems to be a problem comperable in difficulty to rewriting various parts of the TE package since I'll hav to calculate regions to highlite based on font, style, word length and height, etc. Any guidence from the Mac wizards out there? =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ORGANIZATION: Advanced Decision Systems UUCP: kzin!speaker@mimsy.umd.edu INTERNET: jtn@potomac.ads.com SPOKEN: John T. Nelson PHONE: (703) 243-1611 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=