[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nedit-discuss
Subject:    Re: Xresources : line number zone and key bindings
From:       Jean-Luc Pinardon <jean-luc.pinardon () art ! alcatel ! fr>
Date:       2003-10-16 14:13:19
[Download RAW message or body]

Thanks for your lights.
The bug was then in my lack of knowledge ... :-(

J.L.P.

Tony Balinski wrote:

>Quoting Jean-Luc Pinardon <jean-luc.pinardon@art.alcatel.fr>:
>
>  
>
>>Hum, but why it works correctly with one order, and not with the reverse 
>>... could it be something like a bug ???
>>
>>    
>>
>
>  
>
>>>Indeed. It appears that translations are taken in order, and if you don't
>>>use a modifier like shift, alt, ctrl or meta in a line the modifier state
>>>is ignored. So if you have <Key>Home followed by Ctrl<Key>Home, the
>>>translation for Ctrl+Home matches the first definition, as it would for
>>>Home on its own. You should therefore either completely specify each
>>>translation rule, or put the more specific ones first.
>>>
>>>Tony
>>>      
>>>
>
>It's by design. If you have ctrl<key>home followed by shift<key>home, what
>should you do if ctrl shift home is pressed? The translations resolve this
>by choosing the first which matches: ctrl<key>home. You can specify "off"
>modifiers like this: ~shift ctrl<key>home - which can only match if the
>shift key is not pressed.
>
>Tony
>
>  
>

-- 
Jean-Luc Pinardon                          Alcatel ABS - MPD/TND
Software Configuration Management          32, avenue Kleber
mailto:jean-luc.pinardon@art.alcatel.fr    92707 Colombes Cedex
Phone : +33 1 55 66 77 54                  France
Fax : +33 1 55 66 33 37



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic