Dave Angel <da...@ieee.org> wrote: 
> John Doe wrote: 
>> Dave Angel <da...@ieee.org> wrote: 

... 

>> Lastly... Is there a way to force the editor to open text (*.txt)
>> files as Python files so that they are color-coded? Without 
>> changing the *.txt extension? I will be editing text files that 
>> are part of a Python program (Dragonfly). Having the text 
>> color-coded will help. I can probably make a script to do a 
>> workaround, but being able to just hit the Save button would be 
>> best. 

> I haven't tried it in Komodo IDE, but there is a preferences item 
> called File Associations.  In it, try choosing *.txt, and change 
> the language drop-down to Python.  

Did that. 

> Presumably when you're done with the special case, you'd change it
> back to "text file" 

Apparently works great (except for some strange GUI behavior in that
dialogue, but that is a completely different, minor issue). For some
reason, seems Komodo does not allow itself to be configured from
Windows file types to open text files, but that is not necessary or
even desirable here. I will just have it open the last files being
worked on. Apparently the editor behaves the same way as it did for
Python files. Thanks. 
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to