home *** CD-ROM | disk | FTP | other *** search
- From: kers@hplb.hpl.hp.com (Chris Dollin)
- Date: Fri, 28 Aug 1992 08:15:58 GMT
- Subject: Re: How *does* one write a good text editor?
- Message-ID: <KERS.92Aug28091558@cdollin.hpl.hp.com>
- Organization: Hewlett-Packard Laboratories, Bristol, UK.
- Path: sparky!uunet!usc!sdd.hp.com!hpscdc!hplextra!otter.hpl.hp.com!hpltoad!cdollin!kers
- Newsgroups: comp.sys.acorn.tech
- References: <17993@acorn.co.uk> <25258@castle.ed.ac.uk>
- Sender: news@hplb.hpl.hp.com (Usenet News Administrator)
- Lines: 15
- In-Reply-To: jamesh@castle.ed.ac.uk's message of 27 Aug 92 15:34:01 GMT
- Nntp-Posting-Host: cdollin.hpl.hp.com
-
-
- In article <17993@acorn.co.uk> pcolmer@acorn.co.uk (Philip Colmer) writes:
-
- >If you were writing a text editor which allowed text effects (eg font
- >changes, colour changes, etc) to be applied, how would you hold the
- >data? My initial thoughts are:
-
- How about a vector of lines, with each line being a vector of chunks, with each
- chunk being a string and a vector (or list) of effects?
-
- It depends a little how line-breaking works, of course.
- --
-
- Regards, | "The date of death of a sentient entity must never be
- Kers. | mentioned in a Dirac 'cast." - Blish, ``The Quincunx of Time''.
-