home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!waikato.ac.nz!aukuni.ac.nz!sbsu1.aukuni.ac.nz!hammett
- Newsgroups: comp.sys.mac.programmer
- Subject: Arrow keys & modifiers (was: Think C is (notso) Great)
- Message-ID: <hammett.711843216@sbsu1.aukuni.ac.nz>
- From: hammett@sbsu1.aukuni.ac.nz (Tim Hammett)
- Date: Wed, 22 Jul 1992 22:13:36 GMT
- Sender: news@ccu1.aukuni.ac.nz (News Owner)
- References: <12JUL199213052196@uhdvx3> <1992Jul20.155359.9503@cimage.com>
- <de19-220792055815@mac41-pg2.umd.edu> <1992Jul22.141021.20135@hobbes.kzoo.edu>
- Organization: University of Auckland, New Zealand.
- Nntp-Posting-Host: sbsu1.aukuni.ac.nz
- Lines: 57
-
- k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
- >I'd like ThC to join with the rest of the Mac world, in which
- >cmd-arrowkey means "go this way for one word/paragraph/page" and
- >option-arrowkey means "go this way to the end of the line/document."
- >ThC has this backwards. (And BBEdit has it backwards vertically but not
- >horizontally. Turns my brain to scrambled cheese.)
-
- I don't use Think C (I use MPW), but it sounds from your description
- like Think C has it right.
-
- Inside Mac says:
- ------
- "Holding down the Command key while pressing an arrow key should move the
- insertion point to the appropriate edge of the window. If the insertion point
- is already at the edge of the window, the document should be scrolled one
- windowful in the appropriate direction and the insertion point should move
- to the same edge of the new windowful. Command-Up Arrow moves to the top of
- the window, Command-Down Arrow to the bottom, Command-Left-Arrow to the left
- edge, and Command-Right Arrow to the right edge.
-
- "The Option key is reserved as a "semantic modifier" key. The application
- determines what the semantic units are. For example, in a word processor,
- where the basic semantic unit is the character and the next larger unit
- is the word, Option-Left Arrow and Option-Right Arrow might move the
- insertion point to the beginning and end, respectively, of a word.
- (Movement of the insertion point by word boundaries should use the
- same definition of "word" that the application uses for double
- clicking.) The next larger semantic unit could be defined as the
- sentence, in which case Option-Left-Arrow and Option-Right-Arrow
- would move the insertion point to the beginning or end of a sentence.
- In a programming language editor, where the basic semantic unit is
- the token and the next larger one might be the line, Option-Left-Arrow
- and Option-Right-Arrow might move the insertion point left and right
- to the beginning and end of the line, respectively."
- ------
-
- MPW does the following:
-
- Command-Leftarrow MoveStartOfLine
- Command-Rightarrow MoveEndOfLine
- Command-Downarrow MovePageDown
- Command-Uparrow MovePageUp
- Option-Leftarrow MoveWordLeft
- Option-Rightarrow MoveWordRight
- Option-Downarrow MoveLineDown
- Option-Uparrow MoveLineUP
-
- which (to me) seems to be a fair interpretation of Inside Mac. I think
- (based on <1 day of use) that WriteNow 3 follows the same conventions.
- MS Word (as usual) does its own thing.
-
- Of course, under MPW, the key bindings can be reconfigured to whatever you
- like (plug, plug). :-)
-
- --
- Tim Hammett, Botany Dept, Auckland University, New Zealand.
- t.hammett@aukuni.ac.nz Phone: +64-9-373-7599 x8365 FAX: +64-9-373-7416
-