[Patches] [ python-Patches-1525817 ] calltip awkwardly shortened

SourceForge.net noreply at sourceforge.net
Thu Jul 20 13:12:43 CEST 2006


Patches item #1525817, was opened at 2006-07-20 11:03
Message generated for change (Settings changed) made by gregorlingl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1525817&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IDLE
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Lingl (gregorlingl)
>Assigned to: Martin v. Löwis (loewis)
Summary: calltip awkwardly shortened

Initial Comment:
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.)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1525817&group_id=5470


More information about the Patches mailing list