[QScintilla] Command modifier problems on Mac OS X

David Hess dhess at fishsoftware.com
Wed May 6 18:38:38 BST 2009


On May 6, 2009, at 12:00 PM, Phil Thompson wrote:
>
> Exactly what problem are you having? Does Command-A select all the  
> text?
>
> The event handler effectively ignores events like the press of the  
> Command
> key but passes on the subsequent press of the A key (with a flag set  
> saying
> the Command modifier is in effect).
>
> Phil
>

Without my workaround, no Command keys work. Select All, Copy, Paste,  
Cut, etc. do nothing.

The event with the A key and the Command modifier set is not being  
handled correctly in my environment. The code in  
QsciScintillaBase::keyPressEvent (line 394-396) expects  
QKeyEvent.text() to have an "A" in it and in my environment it is "".  
QKeyEvent.key() however is set properly and does indicate the A key.

The result is the key stroke is completely ignored.

Dave


More information about the QScintilla mailing list