On Mac OS X (Jdk-7u40) some jEdit components (e.g. the file browser) produce warnings like this:
KeyEventTranslator: Invalid key code: ⌘W
Consequently, COMMAND-W does not work to close the dialog window.
This is because GUIUtilities.getShortcutLabel is used to produce a string version of the key stroke of some action, and KeyEventTranslator.parseKey to recover its internal form in Swing, e.g. in EnhancedDialog.isCloseBufferShortcut.
It seems that GUIUtilities.getShortcutLabel was at some point "upgraded", in order to produce nice Mac OS X output for the user, e.g. in menus or tooltips, but it broke that internal bypass. The included patch addresses that (via some slightly odd Boolean flag).