Martin Kola??k wrote:
> I use the following code in configuration:
>
> <command name="doc_addTimes">
> <macro>
> <sequence>
> <command name="insert" parameter="into cTimes" />
> <command name="insertNode" parameter="textAfter" />
> </sequence>
> </macro>
> </command>
>
> <binding>
> <keyPressed code="MULTIPLY" modifiers="ctrl"/>
> <command name="doc_addTimes" />
> </binding>
>
> which properly worked in XXE2.x until 2.4. Element cTimes is singular, its
> content is EMPTY. Now, binding seems to work OK, but executing command
> not -- if I press Ctrl+*, nothing is done EXCEPT: if I, after pressing
> Ctrl+*, use some other command (I e.g. have Ctrl+Shift+E to convert to em),
> the cMinus tag appear inside newly created <em>..</em>.
>
> I concurently with XXE updated Java to 1.4.2, so the problem can be in it
> too (even if the issue sounds like XXE bug).
Sorry for being so late to answer: I was in vacations for the last 2 weeks.
Well, I've tried this which is very close to what you do:
---
<command name="xhtml.insertLineBreak">
<macro>
<sequence>
<command name="insert" parameter="into br" />
<command name="insertNode" parameter="textAfter" />
</sequence>
</macro>
</command>
<binding>
<keyPressed code="MULTIPLY" modifiers="ctrl"/>
<command name="xhtml.insertLineBreak" />
</binding>
---
and it works well on XXE V2.4/Linux/Java 1.4.1_02/French keyboard, with
or without NumLock.
Now on Windows 2000, the binding Ctrl+* ('*' on numeric keypad) does not
seem to trigger any command either using Java 1.4.1 or Java 1.4.2.
To make it work, I needed to change the binding. I tried with Ctrl+B and
with Ctrl+* ('*' on a regular key of the *French* keyboard) and it
worked fine.
Therefore, I don't think it is an XXE bug but I cannot give a clear
diagnostic for your problem.