On 21 Oct 2016, at 9:44, Hussein Shafie wrote:
On 10/20/2016 08:18 PM, Leif Halvard Silli wrote:
On 18 Oct 2016, at 18:47, Hussein Shafie wrote:

    Maïlys C. wrote:

        After an upgrade to version 7 in last july, it is no longer
        possible use
the shortcut "ctrl + shift + s" to display the XML Source of my
        documents.

  ... snip ...

Maïlys C. authors DocBook document so her "View" menu may contain different items.

If you run XXE v7+, the "Show info about included elements" is added only if you turn on the feature called "Enable the Developer Tools". See "Incompatibilities" in http://www.xmlmind.com/xmleditor/changes.html#v7.0.0

When this is the case, "Show info about included elements" is menu item #3 and "XML source" becomes menu item #4.

Aha, thanks.

Anyhow, as for Mac, then one may click on the "View" menu and then type
"4" (or "3", if that new submenu does not turn up) and then
"Enter/Return" - this will open the source view.

Yes, but you still have to first *click* the "View" menu. Maïlys C. wants to switch to the XML source view only by using the keyboard.

Yes. I understand. However, when you develop for Mac, you should still be aware of this option ...

... May be I am deviating (again), but for instance, when I select New (to open a new, empty, document), I get a list of all the formats that XMLMind is able to create. I would then expected that I could just type e.g. H to get the HTML formats. However, this does not work out of the box. Before it works, I must click inside the dialog window and *then* I can type H to get to the HTML formats. It would be nice if one did not need to click inside the window first ...

But, again speaking about the Mac, then MacOS (and OSX) allows us to add
shortcuts to /any/ submenu of /any/ program. Unfortunately, this does
not work for XML Mind. Would it be possible to get support for that
feature in the XML Mind editors? For instance NeoOffice (which as much as I have understood is a Java-based port of OpenOffice to MacOS) does
support such manually added shortcuts.


I didn't know this MacOS feature. How to support it in a Java application is, to our knowledge, not documented. (How to integrate a Java application to MacOS is documented. We used this documentation to implement XXE.)

I checked and found out that Neooffice has been based on Cocoa since 2012: https://en.wikipedia.org/wiki/NeoOffice#cite_ref-17

However (and I suppose this is good news): both in NetBeans (version 8.0) and in jEdit (version 5.3), both of which are written in Java, this macOS(X) shortcut feature is supported. So at least it seems possible to get it to work even in Java.

By the way: I use the keyboard all the time to navigate, for instance, in Finder: I type the name of files and folders and then Command+O to open. So it is not like we, Mac users, are simply "mousing around" all the time.


PS: The "Known problem" below may interest you because you have reported it.

We very recently tried to solve it

Very glad to hear!

by carefully re-reading the aforementioned documentation and failed miserably.

Not so happy.

http://www.xmlmind.com/xmleditor/known_problems.html#problems_on_mac
---
* On the Mac, double-clicking on a file which should be opened by XXE (e.g. a ".dita" file) starts the application (or brings its window to front if it's already started) but does not cause the file to be opened in the editor.

No workaround. Seems to be a Java™ bug.

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/

By the way: This feature has at least 3 user interfaces:

1. The "double click" interace
2. The "Open with" submenu of the File menu in Finder.
3. The 'open' command line tool, which allows us to do this:
   open -a XMLmind.app foo.xhtml
   (which, alas, does not work for XMLmind though).
--
leif halvard silli
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to