[issue17060] IDLE -- jump to home should not go past the PS1 and PS2 prompts

Roger Serwy report at bugs.python.org
Wed Apr 3 06:07:27 CEST 2013


Roger Serwy added the comment:

When using the IDLE Classic OSX key set, the "beginning-of-line" virtual event gets bound to <Control-Key-Left>. Using this key set I can repeat the behavior that Raymond observed.

The .home_callback() in Lib/idlelib/EditorWindow.py contains the logic from #3851 for placing the cursor at the beginning of the prompt, but it requires that a key combination be bound to the beginning-of-line virtual event.

Should we append "<Key-Home> <Control-Key-a>" to the begining-of-line config in Lib/idlelib/config-keys.def ?

----------
nosy: +roger.serwy
type: behavior -> enhancement
versions: +Python 3.4 -Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17060>
_______________________________________


More information about the Python-bugs-list mailing list