[Idle-dev] [ idlefork-Bugs-701352 ] Cannot backspace through ">>> " in doc comment

SourceForge.net noreply@sourceforge.net
Mon, 10 Mar 2003 22:12:14 -0800


Bugs item #701352, was opened at 2003-03-11 06:12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109579&aid=701352&group_id=9579

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Harris (edcdave)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot backspace through ">>> " in doc comment

Initial Comment:
IDLEfork 0.9a2, Python 2.2.2, Windows XP

I was documenting another case of Tkinter freeze by 
adding a doc comment in an Editor window when I found 
that the backspace key will not erase a line beginning 
with >>> followed by a space. That is,

"""
Pressed F5 to run
Example window appeared
Clicked button
>>> appeared in Shell window
... more comments
>>> 
...more comments
"""

When I attempted use backspace to delete the ">>> " 
line, the cursor refused to move leftward. Pressing Home 
and hitting the Delete key 4 times works fine.

Two things to think about:
1) The syntax highlighting indicates the cursor is in the 
middle of a comment.
2) This occurred in an Edit window, not a Shell window

FWIW, this defect is hardly worth mentioning. But, if 
IDLE is a tool used by beginners, these odd behaviors 
undermine confidence. When I encountered this defect, 
there was a period of 10 seconds when I thought 
IDLEfork locked up - the backspace key just wasn't 
working.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109579&aid=701352&group_id=9579