home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12882 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  3.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!waikato.ac.nz!aukuni.ac.nz!sbsu1.aukuni.ac.nz!hammett
  2. Newsgroups: comp.sys.mac.programmer
  3. Subject: Arrow keys & modifiers (was: Think C is (notso) Great)
  4. Message-ID: <hammett.711843216@sbsu1.aukuni.ac.nz>
  5. From: hammett@sbsu1.aukuni.ac.nz (Tim Hammett)
  6. Date: Wed, 22 Jul 1992 22:13:36 GMT
  7. Sender: news@ccu1.aukuni.ac.nz (News Owner)
  8. References: <12JUL199213052196@uhdvx3> <1992Jul20.155359.9503@cimage.com> 
  9.  <de19-220792055815@mac41-pg2.umd.edu> <1992Jul22.141021.20135@hobbes.kzoo.edu>
  10. Organization: University of Auckland, New Zealand.
  11. Nntp-Posting-Host: sbsu1.aukuni.ac.nz
  12. Lines: 57
  13.  
  14. k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
  15. >I'd like ThC to join with the rest of the Mac world, in which
  16. >cmd-arrowkey means "go this way for one word/paragraph/page" and
  17. >option-arrowkey means "go this way to the end of the line/document."
  18. >ThC has this backwards.  (And BBEdit has it backwards vertically but not
  19. >horizontally.  Turns my brain to scrambled cheese.)
  20.  
  21. I don't use Think C (I use MPW), but it sounds from your description
  22. like Think C has it right.
  23.  
  24. Inside Mac says:
  25. ------
  26. "Holding down the Command key while pressing an arrow key should move the
  27. insertion point to the appropriate edge of the window. If the insertion point
  28. is already at the edge of the window, the document should be scrolled one
  29. windowful in the appropriate direction and the insertion point should move
  30. to the same edge of the new windowful. Command-Up Arrow moves to the top of
  31. the window, Command-Down Arrow to the bottom, Command-Left-Arrow to the left
  32. edge, and Command-Right Arrow to the right edge.
  33.  
  34. "The Option key is reserved as a "semantic modifier" key. The application
  35. determines what the semantic units are. For example, in a word processor,
  36. where the basic semantic unit is the character and the next larger unit
  37. is the word, Option-Left Arrow and Option-Right Arrow might move the
  38. insertion point to the beginning and end, respectively, of a word.
  39. (Movement of the insertion point by word boundaries should use the
  40. same definition of "word" that the application uses for double
  41. clicking.) The next larger semantic unit could be defined as the
  42. sentence, in which case Option-Left-Arrow and Option-Right-Arrow
  43. would move the insertion point to the beginning or end of a sentence.
  44. In a programming language editor, where the basic semantic unit is
  45. the token and the next larger one might be the line, Option-Left-Arrow
  46. and Option-Right-Arrow might move the insertion point left and right
  47. to the beginning and end of the line, respectively."
  48. ------
  49.  
  50. MPW does the following:
  51.  
  52. Command-Leftarrow               MoveStartOfLine
  53. Command-Rightarrow              MoveEndOfLine
  54. Command-Downarrow               MovePageDown
  55. Command-Uparrow                 MovePageUp
  56. Option-Leftarrow                MoveWordLeft
  57. Option-Rightarrow               MoveWordRight
  58. Option-Downarrow                MoveLineDown
  59. Option-Uparrow                  MoveLineUP
  60.  
  61. which (to me) seems to be a fair interpretation of Inside Mac. I think
  62. (based on <1 day of use) that WriteNow 3 follows the same conventions.
  63. MS Word (as usual) does its own thing.
  64.  
  65. Of course, under MPW, the key bindings can be reconfigured to whatever you
  66. like (plug, plug). :-)
  67.  
  68. --
  69. Tim Hammett, Botany Dept, Auckland University, New Zealand.
  70. t.hammett@aukuni.ac.nz   Phone: +64-9-373-7599 x8365    FAX: +64-9-373-7416
  71.