Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Follow up { on a german keyboard [swt-carbon]


Given how close we are to shipping R2.0, this is something which would have to be worked around in the Mac specific code, and fixed more generally after R2.0 ships. Please enter a PR describing the problem and what you have found.

McQ.



Ulrich Köster <uli@xxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

06/05/2002 11:56 AM
Please respond to platform-swt-dev

       
        To:        platform-swt-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-swt-dev] Follow up { on a german keyboard [swt-carbon]


hi,

i think the problem is the bugfix 12952. Which prevents entering chars
with alt.

The code in org.eclipse.swt.custom.StyledText handleKey()


           if (event.character > 31 &&
                                                  event.character != SWT.DEL && event.stateMask != SWT.ALT ||
                                     event.character == SWT.CR || event.character == SWT.LF ||
                                     event.character == TAB) {
                                                  doContent(event.character);
                                 }

filters nearly all chars entered with the alt modifier including {} on a
german keyboard.

Removing && event.stateMask != SWT.ALT solves my problem but it is a bug
for other people.

Can somebody advice me what i should do in this case. It s my first work
for the swt.

Best regards

ulrich


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top