[issue21756] IDLE - ParenMatch fails to find closing paren of multi-line statements

Tal Einat report at bugs.python.org
Sat Jun 14 23:52:55 CEST 2014


Tal Einat added the comment:

Note that the patch changes the behavior only for ParenMatch.flash_paren_event(). Other uses, such as in CallTips, are not affected.

The only possibly unwanted effect that I can think of is in an editor window, on a line missing a closing parenthesis, triggering flash_paren_event() could highlight the entire rest of the code. I'll have to check this tomorrow.

WRT CallTips.open_calltip() calling HyperParser.get_surrounding_parens('('), that is to find the real last opening parenthesis. It is needed since open_calltip() can be triggered manually, not only after '(' is typed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21756>
_______________________________________


More information about the Python-bugs-list mailing list