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.

classification
Title: calltip awkwardly shortened
Type: Stage:
Components: IDLE Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: gregorlingl, loewis
Priority: normal Keywords: patch

Created on 2006-07-20 11:03 by gregorlingl, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
CallTipWindow.diff gregorlingl, 2006-07-20 11:03 unified diff for CallTipWindow.py
Messages (2)
msg50724 - (view) Author: Gregor Lingl (gregorlingl) Date: 2006-07-20 11:03
Because of the fact, that calltips are truncated, if
the overall length exceeds some value (75), the second
line is shortened too much, if the parameterlist (i. e.
first line) is relatively long.

Example:

for the function:

def setup(self, width=0.5, height=0.75, startx=None,
starty=None):
    """ Set the size and position of the main window.
        ...

The second line only displays

Set the size and positio...

although even unshortended it would be shorter than the
first line. This seems counterproductive.

I submit a patch, which lets both lines be at most
as long as they would be with the former code. (Of
course one could think of different solutions.)
msg50725 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-07-25 09:53
Logged In: YES 
user_id=21627

Thanks for the report. I fixed it slightly differently in
50815; the original intent was to truncate long lines.
History
Date User Action Args
2022-04-11 14:56:19adminsetgithub: 43700
2006-07-20 11:03:55gregorlinglcreate