On 23 Oct 2016, at 12:43, Hussein Shafie wrote:
On 10/23/2016 04:49 AM, Leif Halvard Silli wrote:

Again, this feature is suppored by jEdit. So it must be possible to
somehow get it to work. That being said, this featuer is not supported
by NetBeans: https://netbeans.org/bugzilla/show_bug.cgi?id=138943

As for jEdit, then it seems at least they have had trouble with this
aspect of the app - though I do not know if it is the exact same issue:
    * https://sourceforge.net/p/jedit/bugs/3453/?page=0
However the abvoe jEdit bug was closed with the following patch - I do
not know it could be of any use to you:
    * https://sourceforge.net/p/jedit/patches/377/

Difficult to read and understand the above patch.

Once again, reading the Java source code of jEdit to find out how they did it would be too time-consuming for us. Sorry.

OK. Sorry.


Btw, with regard to opening files from Finder, then, first I do not know
if this helps, however, I see that Eclipse has had the same issue as
XMLmind and NetBeans currenltly have. Here is a web page that described
a solution:
http://bewarethepenguin.blogspot.no/2010/08/setting-up-java-files-to-automatically.html


The above blog page basically teaches a Mac user to associate a ".java" application to Eclipse.

It sounds as if you turn that blog post into *less* than what it claims to be. It is as if you say that is only about association a ".java application" with Ecplipse.

But in fact the post says: «Although this demonstrates using .java files, you can do the same for any other file type; as long as your installation of Eclipse has an editor to handle that file type, it should work just fine.»

This page does not describe what to do to workaround the Java bug which prevents a Java application from opening a file to which the Java application has been successfully associated.

As I hinted above: I do disagree (in fact: not only strongly, but completely disagree) with what you say here. In fact, the screenshots inside list-item 3 and list-item 4 of that blog post displays *exactly* the OSX/macOS feature with which I would expect to be able associate e.g. "foo.xhtml" files with XMLmind XML Editor. So if XMLmind XML Edit implement exactly what Eclipse, according to this blog post, already does, then I would consider the bug I have reported to be solved.
--
leif halvard silli
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to