On 10/22/2016 10:17 PM, Leif Halvard Silli wrote:
... 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 ...
May you'll find the "-new" command-line option nice to use. Example:
xxe -new page.html
See option "-new save_file_or_URL" in
http://www.xmlmind.com/xmleditor/_distrib/doc/help/command_line_usage.html
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.
I'm really sorry but we don't have the slightest idea of what has to be
done to allow users to add custom shortcuts to a Java application like
XMLmind XML Editor.
Reading the Java source code of NetBeans and/or jEdit to find out how
they did it would be too time-consuming for us. Sorry again.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support