home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / acorn / tech / 79 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.2 KB

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