Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!ceres.physics.uiowa.edu!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!rutgers!sun-barr!olivea!samsung! cs.utexas.edu!wuarchive!csus.edu!ucdavis!csusac!unify!openlook!openlook-request Newsgroups: comp.windows.open-look Subject: Re: XView: TEXTSW questions Message-ID: <5miu7s5@openlook.Unify.Com> From: ** Sender Unknown ** Date: 16 Apr 91 14:22:55 GMT Lines: 16 > Is there any way to programmatically inverse-video certain words in a > TEXTSW? I am writing a full-text database retrieval application and I > need to highlight all the words in a document that match a user's > query. Each document gets placed in a single TEXTSW. There many words > in each document (TEXTSW window) that must be highlighted. I know I > can search the text in a TEXTSW but I also need to be able to somehow > highlight regions of text programmatically. Even changing the color or > bolding some text would be acceptable. No can do (well, you can *always* hack the src). Forget about different colors and bolding text too. You only get one color and one font in a TEXTSW. FYI, take a look at the NeWS/TNT JOT object. Frank G.