Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: More Macintosh Toolbox /
Chapter 2 - Scrap Manager / Introduction to the Scrap Manager


Intelligent Cut and Paste

When the user selects text and then chooses the Cut command, or sets the insertion point and then chooses Paste, your application should apply "intelligent cut and paste," that is, discard extra spaces or add spaces, as outlined here. In general, your application should follow these rules to provide intelligent cut and paste:

Figure 2-4 shows examples of intelligent cut and paste.

Figure 2-4 Intelligent cut and paste

Figure 2-5 shows the results of applying the same operations in an application that doesn't support intelligent cut and paste.

Figure 2-5 Non-intelligent cut and paste

See Macintosh Human Interface Guidelines for details of selection techniques and guidelines for selecting words and paragraphs.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996