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

2013-01-28 Thread Raymond Hettinger
New submission from Raymond Hettinger: In IDLE's shell, pressing or currently jumps to the beginning of a line. Instead it should stop *after* the ">>> " prompt. -- components: IDLE messages: 180841 nosy: rhettinger priority: normal severity: normal status: open title: IDLE -- jump

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

2013-02-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: On my Win 7 system, with 3.3.0, the first Home sends the cursor to the beginning of the user entry, after '>>> '. The second sends it to the beginning of the display line. And so forth, as intended. See #3851. (It worked the same with Win xp and 3.1) If are ge

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

2013-04-02 Thread Roger Serwy
Roger Serwy added the comment: When using the IDLE Classic OSX key set, the "beginning-of-line" virtual event gets bound to . 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 c