home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / pascal / 8417 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.7 KB

  1. Path: sparky!uunet!cs.utexas.edu!uwm.edu!linac!att!cbnewse!cbnewsd!att-out!oucsboss!oucsace!tswingle
  2. From: tswingle@oucsace.cs.ohiou.edu (Tom Swingle)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: [BP7.0] Syntax colors
  5. Message-ID: <1993Jan21.235654.24503@oucsace.cs.ohiou.edu>
  6. Date: 21 Jan 93 23:56:54 GMT
  7. References: <35120@adm.brl.mil>
  8. Organization: Ohio University CS Dept,. Athens
  9. Lines: 21
  10.  
  11. I think the most important thing with syntax highlighting is not to try to
  12. come up with a unique combination for every different entry; it will make it
  13. into an unreadable jumble of color.  I have a blue background, with reserved
  14. words in white, assembler in green, comments and strings in light gray, and
  15. everything else in yellow.  Some of the categories listed are kind of silly,
  16. especially whitespace and numbers (IMHO, of course; I am just waiting for a
  17. nasty flame from someone who just loves numbers in bright red on green :-).
  18. Color highlighting for whitespace?  *Snicker*.  Sure, you can change the 
  19. background, but it seems to me that changing the background for anything
  20. makes things totally unreadable.  Anyway, it might be enough to just 
  21. separate reserved words from everything else.  And choosing something subtle
  22. like yellow vs. white or light gray vs. white can help if you find contrasting
  23. colors unpleasant.
  24.  
  25. Oh well, have fun with it.  Choosing syntax colors was one of my favorite
  26. parts of trying out the new upgrade.
  27. -- 
  28. "The problem you are experiencing is  |  "To be sure of hitting the target, 
  29. not with the network nor with the     |  shoot first and, whatever you hit, 
  30. station.  Please adjust your set."    |  call it the target." 
  31. More ramblings from: tswingle@oucsace.cs.ohiou.edu/tswingle@bigbird.cs.ohiou.edu
  32.