Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cica!iuvax!bsu-cs!mithomas From: mithomas@bsu-cs.bsu.edu (Michael Thomas Niehaus) Newsgroups: comp.sys.mac.programmer Subject: Re: List Manager Strangeness Message-ID: <10841@bsu-cs.bsu.edu> Date: 27 Feb 90 22:40:19 GMT References: <20392@bellcore.bellcore.com> Reply-To: mithomas@bsu-cs.UUCP (Michael Thomas Niehaus) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 42 The following code is extracted from one of my programs. Basically, it goes through a list, comparing every entry against some given text. (Actually, it does some wildcard expansion/comparison, but I hacked it apart to do this instead.) In this case, it hilites any entry in the list that equals "Helvitica". strcpy(&theText,"Helvitica"); theCell.h=0; numRows=(**localList).dataBounds.bottom; for (i=0;i!{iuvax,pur-ee}!bsu-cs!mithomas Apple Student Rep ARPA: mithomas@bsu-cs.bsu.edu Ball State University AppleLink: ST0374 (from UUCP: st0374@applelink.apple.com)