[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 delay after sleeping.

--
stage: patch review -> test needed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42239] IDLE: Restore or keep calltip when needed

2020-11-01 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
keywords: +patch
pull_requests: +22012
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/23098

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42239] IDLE: Restore or keep calltip when needed

2020-11-01 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
title: IDLE: Restore calltip when needed -> IDLE: Restore or keep calltip when 
needed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com