Patch for MacOSX
Against latest trunk
Removes the need for MacOSX plugin - removed from build.xml and ivy.xml
Removes some keyboard binding errors (on Macosx anyway - can't check on Windows)
Integrates to MacOSX using java.awt.Desktop in org/gjt/sp/jedit/View.java
Tested on MacOSX and Linux.
Requires at least Java 9.
This is a more concise patch. It is also closer to the plugin MacOS 1.5 (by makarius).
The plugin has Desktop.setOpenFileHandler but it seems to be unnecessary: drag&drop of files onto the view works without it.
Last edit: Makarius 2020-06-09
I quickly checked, it seems good to me but I can't test, so if someone can test it, it would be cool, otherwise I will apply it.
Here is another patch, exactly the same with a few fixes in coding style
This is now in jedit-trunk r25349.
This is vacuous for Linux and Windows: conditions like
desktop.isSupported(Action.APP_QUIT_HANDLER)
are false.It works fine on macOS Catalina 10.15.5, with or without the MacOS plugin (the MacOSX plugin is for old Java 8). Can someone who understands the ant setup remove all references to the MacOSX plugin from it?
Looks good. If you apply it, I will test it.
Here's a jar with jEdit from head with the patch attached:
https://drive.google.com/open?id=1ZZNNqLaN27ZB8RxKEMe-SbEdTMB4UEPD
I have now learned to use "ant dist", so I won't need any further build snapshots.
Seems to work fine on Macos and Windows 10
@makarius
Attached is a patch against SVN revision 25386 that removes references to the MacOSX.jar from the build/ivy files.
Last edit: Peter Lynch 2020-11-30
I don't understand the ant setup.
Maybe it is better to make a separate tracker item to get more attention for the patch.
@makarius ok - I created https://sourceforge.net/p/jedit/patches/627/ for my patch.
Meanwhile, what is the reason this patch issue is still open?