LispWorks CAPI User Guide > 8 Creating Menus


8.9 The Edit menu on Cocoa

LispWorks now adds a minimal Edit menu to all CAPI interfaces when running in the LispWorks IDE, which makes the edit gestures Command+V , Command+C and Command+X work in every interface displayed in the LispWorks IDE.

However, to implement these gestures in your CAPI/Cocoa runtime application, you must include an Edit menu explicitly in your interface definition, as described in Adding menus.

To remove the automatic menu when running your program in the LispWorks IDE, pass the initarg :auto-menus nil when making the interface.

LispWorks CAPI User Guide (Macintosh version) - 22 Dec 2009