[issue28840] IDLE not handling long lines correctly

2016-12-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Currently, the code displayed is the code saved and run when requested. Your idea would require that IDLE keep a 'true' copy of the code separate from the 'display' copy in the Text widget, with the two being kept in sync except in special situations such as

[issue28840] IDLE not handling long lines correctly

2016-12-01 Thread piotr.sk
piotr.sk added the comment: Thank you for explanation of the background problem. Updating documentation as you mention is a good next step. Thanks as well for the proposed solution of splitting the input string, but as long as it is just a display issue, this is not needed for test strings.

[issue28840] IDLE not handling long lines correctly

2016-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: The lengths of the strings on the 3 lines are 644, 432, and 7728, as determined by adding 4th line to print them. In Win10, the editor window shows. MESSAGE_1 = '02 MESSAGE_2 = 'Ag MESSAGE_1 = The problem is the blank after '=' on line 3. If I

[issue28840] IDLE not handling long lines correctly

2016-11-30 Thread piotr.sk
New submission from piotr.sk: IDLE included in Python 3.5.2 does not display correctly files with very long lines under Windows 7. Attached example file does not show the third line correctly in Windows 7. These lines are part of a script that attempts to parse the messages. Even though very