Archived Beta Discussions > SlickEdit 2016 v21 Beta Discussion

syntax highlighting not working on some C files


I have a handful of c files that where the syntax highlighting is not working at all; other files in the same path are fine. I have verified the settings and there is nothing obvious I can see. Does anyone know how to resolve this odd issue?

If you open up one of the problem files, and open the Document menu, up at the top there will be an entry that says "Select Mode (CURRENT MODE NAME)".  Does it show the mode as C/C++?   If not, you can set the mode to C/C++ with that menu entry. 

Thanks. It said "Plain text", not sure why as it is a .c file AND other files in the same directory opened just fine. Once again thanks

I have the same issue. I've never had this problem before v21. I'm on the hotfix 2. I found that if I save the file to any other folder, it highlights correctly but if I save it to the same folder it is plain text. Other files in the folder are OK as well.

I'm using the suggested workaround, but this seems to a bug that needs fixing.


[0] Message Index

Go to full version