Information générale
Catégorie:
Installation et configuration
>Would anyone know why my syntax in my prgs suddenly stopped being colored. Some prgs are, others aren't. On the ones that aren't, the edit/preferences/syntax coloring check box is greyed out. The tools/options/syntax coloring looks ok and i have said Set To Default. TIA
i have run into this problem in the past....
i think the .prg file was opened by a text editor like wordpad. Then the text editor placed some information in the header of the '.prg' file that prevents syntax colouring. You probably know the '.prg' files are a special kind of text file.
All I did was create a new blank .prg file; cut and paste the code from the uncoloured program file into the new empty program file. I then renamed the uncoloured program file to something that will eventually get deleted.
Ugly solution ,but it works.
HTH
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement