[issue42239] IDLE: Restore or keep calltip when needed

2020-11-01 Thread Tal Einat
Tal Einat added the comment: We already have a "<>" virtual event which is triggered upon typing a closing parenthesis ')'. We could just have it always call "open_calltip()" rather than only doing so when one is already open. See PR GH-23098. -- ___

[issue42239] IDLE: Restore or keep calltip when needed

2020-11-01 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +22014 pull_request: https://github.com/python/cpython/pull/23100 ___ Python tracker ___ ___

[issue42239] IDLE: Restore or keep calltip when needed

2020-11-01 Thread Tal Einat
Tal Einat added the comment: We already have a "<>" virtual event which is triggered upon typing a closing parenthesis ')'. We could just have it always call "open_calltip()" rather than only doing so when one is already open. See PR GH-23100. -- ___

[issue42239] IDLE: Restore or keep calltip when needed

2020-11-01 Thread Tal Einat
Change by Tal Einat : -- Removed message: https://bugs.python.org/msg380188 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42239] IDLE: Restore or keep calltip when needed

2020-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I dislike the idea of creating a Hyperparser and calling get_surrounding_brackets on every ). For (, the open is the ( just typed and the close is typically the newline to the right. For ), the open may be several lines back. I will test for noticeable de

<    1   2