On 12/12/2014 09:45 AM, Dariusz Smoczyński wrote:
I have attached print screen

Thank you for your excellent bug report.



as you see it is possible to type Polish ć in the keyboard shortcuts pane but 
not in main window. It is no problem with typing big Ć (Alt gr shift C)

I understand that very well.



There are also environment settings produced by XMLmind - perhaps I have here 
something wrong.


No, the problem does not come from your working environment.



It seems that on Windows, pressing AltGr-C is equivalent to pressing Ctrl+Alt-C. The problem is that Ctrl+Alt-C is bound to "Edit|Copy As Text". This binding has been added since v5.7 (July 23, 2013).

There is no such problem with AltGr+Shift-C because Ctrl+Alt+Shift-C is currently not bound to any command in XMLmind XML Editor.



In order to make AltGr-C work as expected, I see two possible solutions:



1) Upgrade from Java 1.7 to latest Java 1.8 and see if this causes Java to generate AltGr-C instead of Ctrl+Alt-C.

In order to do that, the simplest is to uninstall XMLmind XML Editor and resinstall it using the xxe-*-setup.exe which comes with its own private Java 1.8 runtime.



2) Rebind Ctrl+Alt-C to command insertString with parameter "ć" ("ć").

This can be done by adding the following binding to your customize.xxe file:

---
  <binding>
    <keyPressed code="C" modifiers="ctrl alt" />
    <command name="insertString" parameter="&#x107;" />
  </binding>
---

This will work whatever the type of the document opened in XXE. You can easily create a useful customize.xxe file by using "Options|Install Add-ons" and selecting the add-on called "A sample customize.xxe".

More information about customize.xxe here: http://www.xmlmind.com/xmleditor/_distrib/doc/configure/bindings_generic.html

Unfortunately using the the "Add Keyboard Shortcut" dialog box (http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.app.part.AddKeyboardShortcutDialog.html) to do this will ***not*** work, this because Ctrl+Alt-C is already reserved by the "Edit|Copy As Text" menu item.



In all cases, we'll *try* to solve this problem cleanly the next version of XMLmind XML Editor (v6.2).




--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to