Issue 800432: color highlighting not working on EDIT windows (original) (raw)

ON idle 1.0/python 2.3/Tk 8.4:

When starting IDLE "normally" (ie: with Shell window), and using File->New Window (Ctrl-N) to get a new Edit window, syntax higlihting is off until the contents of the file are saved with a .py extension.

BUT, when starting IDLE after configuring it to start with a EDIT window, syntax highlighting is ON for that first window (although not for any other new Edit windows)

The behaviour happens both on IDLE as shipped with the python.org 2.3 installer and with cygwin's idle: (idle 1.0, Python 2.3 (#1, Aug 5 2003, 09:49:11) [GCC 3.2 20020927 (prerelease)] on cygwin) - started with -n switch to avoid the "missing menus" bug on cygwin)

On idle 0.8 (as shipped with ActiveState ActivePython 2.2.2 Build 224) syntax highlighting is ON in edit ("new") windows.