On 26 Apr 2017, at 9:30, Hussein Shafie wrote:
On 04/25/2017 11:06 PM, Leif Halvard Silli wrote:
There is a logic.
It's Insert before = Cmd-H, Insert [here] = Cmd-I, Insert after =
Cmd-J (Hence HIJ) on all platforms but the Mac. See Quick reference
card,
http://www.xmlmind.com/xmleditor/_distrib/doc/quickrefcard/quickrefcard-A4.pdf
The problem is that on the Mac Cmd-H is a system keyboard shortcut
which means: hide this widow.
I can understand that that seemed like a logical decision to make. But
did you actually test whether there would be any issues with picking
Cmd-H for the Mac as well? In MacOS, for TextEdit, there are no issues:
If, using System Preferences, I apply Cmd-H to the paste command of Text
Edit, then everything works perfect. That is: the window does not become
hidden. Would XXe behave differently? (It should not.)
Back to Cmd-W: On Windows, the corresponding Ctrl-W is (as I just now
learned) not that common - it is not a universally standardized short.
From that perspective, it is understandable that you picked Ctrl-W.
However, for Mac, it is highly likely that XMLmind XML eidtor is the
single application in the entire world of Mac that uses Cmd-W as a paste
command! And this is problematic issue.
[... snip ...]
* What can we hope for in this regard?
I'm sorry but we will not change any of the stock keyboard shortcuts
of XXE and we will not permit the user to add/modify/remove stock
keyboard shortcuts.
Understand. But if you - only for the mac version - took care to not use
Cmd-H, you have, IMO, an even reason to reconsider the current Cmd-W
command.
Spending too much time on "comfort improvements" like those you want
predates the commercial future of the product. Most customers
basically want nicer, more customizable and may be more interactive
output from XXE's "Convert Document" menu.
Understand. And I consider XXe as a superb and intuitive high quality
app.
But for commercial reasons, you should perhaps reconsider the Cmd-W ...
Idea: Currently, on the Mac at least, Cmd-Shift-W performs the Close
Window command. Why not, for the Mac, instead let Cmd-Shift-W perform
the Past After command? (And, as for the Close WIndow command, you can
either use Cmd-W for that comman - as this is 99.99% of all Mac users
expect. Or, you can simply forget the entire shortcut for the Close
Window command.)
To be accurate: Cmd-W on Mac will either close the current Tab or, if
there are no Tabs (or just a single Tab), the current Window. This is
universal.
XXE has 2 copy commands and several paste commands (aside paste
before, paste into, paste after):
- Edit|Copy (Cmd-C), Edit|Copy as Text (VERY USEFUL: Cmd+Shift-P, P
like Plain text):
http://www.xmlmind.com/xmleditor/_distrib/doc/help/editMenu.html
Thanks, I know. And it is useful.
- DocBook, DITA Topic, XHTML menu | "Paste As" submenu. For example:
http://www.xmlmind.com/xmleditor/_distrib/doc/xhtml/menu.html
The menu items being rarely used have no keyboard shortcut.
XXE already allows the end-user to easily bind *custom* keyboard
shortcuts to (possibly automatically recorded) macro-commands and to
native commands.
Ah. Thanks.
Tutorial: Custom keyboard shortcuts:
http://www.xmlmind.com/xmleditor/_tutorial/custom_bindings/index.html
Tutorial: Automating repetitive tasks by recording macros:
http://www.xmlmind.com/xmleditor/_tutorial/record_macro/index.html
Thanks. I will learn it now. Definitely.
3.
Some way for users to add or modify shortcuts: Like I have
mentioned
before, all well behaved Macintosh applications permit shortcuts
to
be added/modified/removed via the Keyboard panel in the System
Preferences app.
XXE is a multi-platform application written in Java, not a native Mac
application written in Objective C or Swift. Becoming a truly
well-behaved Macintosh application is out of our technical reach.
Entirely understandable, of course.
--
leif halvard silli
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support