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 Modifications
Type: Stage:
Components: IDLE Versions: Python 2.4
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: kbk Nosy List: kbk, sowjanya
Priority: normal Keywords: patch

Created on 2005-05-11 17:46 by sowjanya, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
idlepatch sowjanya, 2005-05-11 17:46 file with three patches
Messages (2)
msg48330 - (view) Author: sowjanya (sowjanya) Date: 2005-05-11 17:46
These patches introduce  modifications in CallTips,
CallTipWindow  and config-keys.def modules,
1-We create the global variable 'truncate ' in the
CallTipWindow module .If truncate is True documenation
string will be displayed till 75 characters ,and if
False whole documentation string will be dispalyed.

2-In CallTips module , added if the object is callable
then  documenatation string describing the arguements
of the object 
from  call method is displayed with out truncating.

3-To allow the Up and Down arrow keys to be used to
traverse the history of commands .
In config-keys.def,
history-next=<Alt-Key-n> <Meta-Key-n>
history-previous=<Alt-Key-p> <Meta-Key-p>
to
history-next=<Alt-Key-n> <Meta-Key-n> <Key-Down>
history-previous=<Alt-Key-p> <Meta-Key-p> <Key-Up>

We are submitting the patches for your consideration to
be included in to the next release of idlelib1.2a0.
The patches were generated using the following comand,
diff -c old new


Thank you
Sowjanya
msg48331 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2005-11-23 01:06
Logged In: YES 
user_id=149084

From CallTipWindow.py log:

Revision 28727 - (view) (download) (as text) - [select for diffs] 
Modified Sun Sep 15 21:43:13 2002 UTC (3 years, 2 months ago) by 
kbk 
File length: 2172 byte(s) 
Diff to previous 21669 

Merge Py Idle changes
Rev 1.4
SF bug 546078:  IDLE calltips cause application error.
Assorted crashes on Windows and Linux when trying to display a 
very
long calltip, most likely a Tk bug.  Wormed around by clamping 
the
calltip display to a maximum of 79 characters (why 79? why not .
..).

Bugfix candidate, for all Python releases.

* So rejecting Item 1.

Item 2: Same problem.  We may have a different method
in the works.

Item 3: If you do this, you can't use the Up/Down keys
to navigate in a multiline input in the Shell. You might
try <Control-Up> etc.  I just modified the keybinding
dialog so you can do this yourself.
History
Date User Action Args
2022-04-11 14:56:11adminsetgithub: 41971
2005-05-11 17:46:49sowjanyacreate