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.
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:11
admin
set
github: 41955
2008-04-27 21:08:18
kbk
set
status: open -> closedresolution: acceptedmessages: +