[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] highlight text output



Alan Fry writes:
|>Anyone know how to highlight text that is written to the screen?  I am
|>trying to find text in a file and have the file displayed with the matches
|>highlighted.
|The 'no' part is that you really have to do quite a lot of work to make the
|thing useable.

Yes. I think if I were going to do this, I'd have my script use Scriptable
Text Editor. It handles layout, scrolling, etc., the script just has to
tell it to open the file, then to highlight (make bold for instance) the
matching words.

While still not a trivial task, *much* easier than doing all the Mac
interface stuff.

Brian

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch