[gedit-list] Syntax highlighting for file with wrong filetype



I have a circumstance under which I have to edit python source in files of type .txt. Not all the .txt files on my system are python files.
Can anybody think of a way to bring up syntax highlighting?   Is there a 
comment I can put at the top of the file, for example?






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]