This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author taleinat
Recipients
Date 2006-01-16.11:58:35
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
ParenMatch sometimes misinterprets closing parenthesis
because it is given a bad keysym. The real bug is
probably somewhere in the event handling mechanism or
something.

Somehow the text widget gets the right signal and the
appropriate closing paren is written there.

This simple patch checks the last inserted character in
the text widget insted of the generated keysym, and
acts accordingly.

Since the function where the workaround is applied
reads text from the text widget from the same index
anyways, I think this workaround is actually much
cleaner than checking the keysym!

Works like a charm on my Python2.4 WinXP installation.
History
Date User Action Args
2007-08-23 15:45:20adminlinkissue1407280 messages
2007-08-23 15:45:20admincreate