Hi, I use IDLE when teaching classes, and I use it to develop small programs for my lessons. I have found a bug that has been in IDLE for a while, and I finally got frustrated enough with it to write.
I am running on a Mac using IDLE version 3.6.1: Python 3.6.1 (v3.6.1:69c0db5050, Mar 21 2017, 01:21:04) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "copyright", "credits" or "license()" for more information. >>> running Max OS X 10.12.6 - but I also see this same problem when I am in class running Windows 10, with Python 3.6.??? If I have an indented line, and I click just to the left of the first real character on that line, often IDLE will place the insertion cursor at the wrong place - at one character to the right of the left edge of the window. If I click in the same spot (Just to the left of the first real character on the line), IDLE responds by moving the insertion cursor one space to the right. Depending on how many times the line I'm clicking on has been indented, IDLE eventually highlights a section from the last character of the previous line to just before the first real character of the line where I clicked. If I click one more time, IDLE puts the insertion character in the correct place. I often want to indent a single line, or make a change at the beginning of a line, but this bug makes a simple change very painful. To avoid this bug, I sometimes click between the first and second real characters on a line then press left arrow to put the cursor where I really want it. One thing to point out, I always use the Tab key to indent my lines. However, even if I type many space characters to indent, I see the same (incorrect behavior). I hope this is something that can be found and fixed quickly. It is extremely annoying. Thanks for your consideration, Irv _______________________________________________ IDLE-dev mailing list IDLE-dev@python.org https://mail.python.org/mailman/listinfo/idle-dev