diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-05-02 09:42:09 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-05-02 09:42:09 +0000 |
| commit | 3f9d88f3e742ead492a0f47062645f3c14654b1f (patch) | |
| tree | 1ea50fdd0074c6f6605783798a16a83ab90b77c0 | |
| parent | 28f655c821d2d1ed37e8500586abacb0062df17b (diff) | |
| download | puzzles-3f9d88f3e742ead492a0f47062645f3c14654b1f.zip puzzles-3f9d88f3e742ead492a0f47062645f3c14654b1f.tar.gz puzzles-3f9d88f3e742ead492a0f47062645f3c14654b1f.tar.bz2 puzzles-3f9d88f3e742ead492a0f47062645f3c14654b1f.tar.xz | |
It's actually vitally important, it turns out, to have all of the
`Cut', `Copy' and `Paste' items in the Edit menu of an OS X
application - because there's nothing else that enables the keyboard
cut/copy/paste shortcuts in an edit box! OS X Puzzles can now have
game IDs pasted into it, which it previously couldn't.
[originally from svn r5728]
| -rw-r--r-- | osx.m | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1236,7 +1236,9 @@ int main(int argc, char **argv) item = newitem(menu, "Undo", "z", NULL, @selector(undoMove:)); item = newitem(menu, "Redo", "S-z", NULL, @selector(redoMove:)); [menu addItem:[NSMenuItem separatorItem]]; + item = newitem(menu, "Cut", "x", NULL, @selector(cut:)); item = newitem(menu, "Copy", "c", NULL, @selector(copy:)); + item = newitem(menu, "Paste", "v", NULL, @selector(paste:)); menu = newsubmenu([NSApp mainMenu], "Type"); typemenu = menu; |