Skip to Content
Mac OS X in a Nutshell
book

Mac OS X in a Nutshell

by Jason McIntosh, Chuck Toporek, Chris Stone
January 2003
Intermediate to advanced
832 pages
32h 40m
English
O'Reilly Media, Inc.
Content preview from Mac OS X in a Nutshell

Graphical Text Editors

Aqua’s default text view, found in nearly every Cocoa application that involves text entry, is laden with a wide and predictable range of features. For a core OS service, the standard Aqua textbox gives you some fairly sophisticated editing tools.

First of all, there’s a myriad of undocumented keystrokes you can use to quickly move your cursor around, besides the obvious use of the arrow keys, or the even more obvious (and time-consuming) use of the mouse. These have been variously cribbed from Microsoft Word, NeXTSTEP, and even the Emacs text editor. (In this table, a “line” means a single row of text as it appears in the window, and a “paragraph” means any number of rows, bound on either end by either a hard carriage return or the start or end of the text area.)

Key command

Action

Graphical Text Editors

- Control-

Move the cursor to the beginning of the line.

Graphical Text Editors

- , Control-

Move the cursor to the end of the line.

Control-A

Move the cursor to the start of the paragraph.

Control-E

Move the cursor to the end of the paragraph.

Option-

Move the cursor up one paragraph.

Option-

Move the cursor down one paragraph.

Option-

Move the cursor right one word.

Option-

Move the cursor left one word.

Control-D

Delete the character to the right of the cursor. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mac OS X Internals: A Systems Approach

Mac OS X Internals: A Systems Approach

Amit Singh
C++ In a Nutshell

C++ In a Nutshell

Ray Lischner
Linux Shell Scripting Cookbook - Third Edition

Linux Shell Scripting Cookbook - Third Edition

Clif Flynt, Sarath Lakshman, Shantanu Tushar
Optimized C++

Optimized C++

Kurt Guntheroth

Publisher Resources

ISBN: 0596003706Supplemental ContentCatalog PageErrata