|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Syntax highlighting in IDLE for Python 2.3
Has anyone noticed a problem with IDLE's lack of highlighting in the edit windows? it highlights perfectly in the Python Shell but when I open a new Edit window, there is no highlighting. The only way to highlight it is to tell IDLE to open an edit window instead of the shell when you start it but even then it only highlights the first edit window and none of the new ones I open. :/
|
|
#2
|
||||
|
||||
|
Have you tried saving your files, simply ? When I begin editing in IDLE, there's no syntax highliting happening, probably since the editor can't tell whether you're editing a simple text file or a Python script. When I save my file with the .py extension, however, highlighting happens.
__________________
Time is the greatest of teachers ; sadly, it kills all of its students. - Hector Berlioz |
|
#3
|
|||
|
|||
|
ya that's one solution. I just found it odd that the IDLE version that shipped with 2.2 highlighted everything all the time while this version does not.
|
|
#4
|
||||
|
||||
|
I dont think this is a new problem 2k, I used to have the same problem when I was using 2.1 - 2.2. IDLE is a great interact with the Pyhton shell but it really isn't the best program for writing large Python programs from scratch. For this I would check out codegenie, htmlkit, or the win32all editor.
http://www.code-genie.com/cgenie.html http://www.chami.com/html-kit/ http://starship.python.net/crew/mhammond/ Another way around this problem would be to create the file and then open if with IDLE, but that wouldn't really help you with the other windows. Hope this helps, Mark. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > Syntax highlighting in IDLE for Python 2.3 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|