Hm, not very good news.

I noticed too, when the binding is not working, that desired action (bound with 
key) is done after immediate pressing
Ctrl+I (insert element). So Ctrl+* + Ctrl+I does not open insert dialog/tab, 
but performs command of Ctrl+*. Maybe some
of keyboard character sequences are lost in JVM 1.4.2? And, as I wrote, XXE2.3 
+ JVM 1.4.1 worked fine.

Moreover, there are other bindings of Ctrl+. or Ctrl+= (keys not on the numpad, 
where the asterisk is), and they do not
work too (and worked in previous version).

Thanks,

Martin

> -----Original Message-----
> From: Hussein Shafie [mailto:hussein at pixware.fr]
> Sent: Monday, September 01, 2003 3:54 PM
> To: kolarik at mii.cz
> Cc: xmleditor-support at xmlmind.com
> Subject: Re: [XXE] a bug in XXE 2.4?
>
>
> 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.
>


Reply via email to