After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 488655 - Font settings for highlighting fails for some syntactical structures
Font settings for highlighting fails for some syntactical structures
Status: RESOLVED DUPLICATE of bug 312660
Product: anjuta
Classification: Applications
Component: plugins: editor: scintilla
2.2.x
Other Linux
: Normal minor
: ---
Assigned To: Naba Kumar
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-20 16:18 UTC by ole.reinhardt
Modified: 2008-11-23 20:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ole.reinhardt 2007-10-20 16:18: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.
Comment 1 Sébastien Granjoux 2008-08-05 20:24:31 UTC
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.
Comment 2 Sébastien Granjoux 2008-11-23 20:54:37 UTC

*** This bug has been marked as a duplicate of 312660 ***