GNOME Bugzilla – Bug 488655
Font settings for highlighting fails for some syntactical structures
Last modified: 2008-11-23 20:54:37 UTC
Writing a C file and using syntax highligting the following text is not correctly highlighted: int var15 = 10; /// test I'm using the monospaced pixel font "fixed" for every highlight setting. Writing the above text everything except "/// test" is higlighted correctly. "/// test" uses some other monospaced font and another color (dark green). I have not specified these settings for any highligh style.
It's not a bug in Scintilla syntax highlight. It is because Scintilla use a different style for doc comment: comments used to generate documentation automatically and this 3 slash is used in Doxygen or another one. But, the current GUI is not able to set this value. You can set it by hand by editing the file editor-style.properties in your user configuration directory/anjuta/scintilla. Here it is /home/seb/.config/anjuta/scintilla/editor-style.properties. By example you can define the color of this comment by setting the value colour.code.comment.doc.
*** This bug has been marked as a duplicate of 312660 ***