[Python-bugs-list] [ python-Bugs-775012 ] No syntax hilite on new file until saved as *.py

SourceForge.net noreply@sourceforge.net
Mon, 21 Jul 2003 06:35:49 -0700


Bugs item #775012, was opened at 2003-07-21 14:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=775012&group_id=5470

Category: IDLE
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Andy Jewell (cybervegan)
Assigned to: Nobody/Anonymous (nobody)
Summary: No syntax hilite on new file until saved as *.py

Initial Comment:
python 2.3c1, on windows xp, uk english.

When typing or pasting into a new text window, no 
syntax highlighting appears until the file is saved with 
a .py name.

I know it doesn't make sense to python-syntax highlight 
a non-python file, but shouldn't it default to 
highlighting?  

IDLE never used to do this - I assume it's a quirk of 
IDLEfork (maybe intentional behaviour i suppose).

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=775012&group_id=5470