Discuss syntax highlighting or submit new syntax files.
- Posts: 10
- Joined: 05 Aug 2006 18:02
The PHP syntax highlighter does not recognize both kinds of comments. For example,
Code: Select all
// This is treated as a comment
# But this is not treated as a comment.
# However, it should be!
Is it possible to get the hash mark (#) added to the PHP syntax table?
- Site Admin
- Posts: 6012
- Joined: 19 Jul 2006 14:29
Of course. Open the file php.syx and add the line
right under the "LineCommentA=//" line. I'll make the change in the next release.