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: smarter behaviour for home key in IDLE
Type: Stage:
Components: IDLE Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: kbk Nosy List: jshute, kbk, rhettinger
Priority: normal Keywords: patch

Created on 2005-05-06 21:33 by jshute, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
home.patch jshute, 2005-05-06 21:33 patch
Messages (3)
msg48304 - (view) Author: Jeff Shute (jshute) Date: 2005-05-06 21:33
This patch modifies IDLE to have behaviour similar to
other IDEs when you press home.  Pressing ones takes
you to the start of text on the line (skipping
whitespace or the prompt characters).  Pressing home
again toggles between that position and the absolute
start of the line.

There was already some code in PyShell.py that
attempted to do part of this for the prompt characters,
but it did not work.
msg48305 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2005-07-15 09:17
Logged In: YES 
user_id=80475

Hmm, the toggling part is not that common or intuitive.
msg65903 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2008-04-27 21:08
The toggling is useful when ending a def. If other IDEs
have this binding, I can't see a problem.  I've been running the
patch for awhile now, and notice that Ctrl-A also has this
new action now. It seems useful, let's give it a try.

r62546
History
Date User Action Args
2022-04-11 14:56:11adminsetgithub: 41955
2008-04-27 21:08:18kbksetstatus: open -> closed
resolution: accepted
messages: + msg65903
2005-05-06 21:33:36jshutecreate