Community
Participate
Working Groups
See : 1G54RAJ: SWT:ALL - Ctrl+Backspace & Ctrl+del have the same key code and key event and try with Ctrl+J & Ctrl +Enter NOTES: output ********************** * KeyEvent: keyChar= (0x0), keyCode=0x40000, stateMask=<none> * KeyEvent: keyChar= (0xA), keyCode=0x0, stateMask=Ctrl * KeyEvent: keyChar= (0x0), keyCode=0x40000, stateMask=<none> * KeyEvent: keyChar= (0xA), keyCode=0x0, stateMask=Ctrl ********************** CM (2/5/01 9:59:19 PM) Control-J is equal to LF (ASCII 0x0A) SN (2/6/01 3:19:52 PM) No plan to fix this at this time.
PRODUCT VERSION: Platfomr 0.12b swt 0.051 Win Nt CQ : Afeb772
SN to comment.
The current thinking is that we will set both the character and keyCode fields to distinguish between these cases.
Fixed for Windows and Motif. There are now keyCodes for BS, CR, DEL, ESC, LF and TAB that are the same as the character value (ie. when the user presses CR, keyCode=SWT.CR and character=SWT.CR, when the user presses ^M, keyCode=0 and character=SWT.CR). SSQ to fix for GTK and Photon and then close this PR.
Fixed on Photon and GTK (> 20020726).