Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qtconsole: wrap argument list in tooltip to match width of text body #2662

Merged
merged 1 commit into from Dec 14, 2012
Merged

qtconsole: wrap argument list in tooltip to match width of text body #2662

merged 1 commit into from Dec 14, 2012

Commits on Dec 6, 2012

  1. qtconsole: wrap argument list in tooltip to match width of text body

    previously, a function with a long argument list would produce
    a very wide tooltip, hurting readability.
    
    Since the width of the docstring body is chosen by the developer
    whereas the formatting of the argument list is currently not, it's
    reasonable to wrap the argument list width to the maximum of
    a) 80 characters, or b) maximum length of a line in the docstring body.
    
    This improved readability, without unduly affecting the appearence
    of the docstring body itself.
    
    closes #2661
    y-p committed Dec 6, 2012
    Copy the full SHA
    2b49db1 View commit details
    Browse the repository at this point in the history