AttributeError: 'NoneType' object has no attribute 'isdigit'

Hi,

    > When the mouse cursor is over a figure then pressing
    > certain key buttons such as Tab, CapsLock, Enter, Backspace
    > etc will trigger the following exception:

Thanks for the report, Pearu. Checkout svn 2256 for a fix.

JDH