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 357534 - syntax coloring fails and breaks selection display
syntax coloring fails and breaks selection display
Status: VERIFIED FIXED
Product: anjuta
Classification: Applications
Component: plugins: editor: scintilla
CVS HEAD
Other All
: Normal normal
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2006-09-24 23:21 UTC by Adam Dingle
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bug fix (2.75 KB, patch)
2006-10-02 18:37 UTC, Adam Dingle
committed Details | Review

Description Adam Dingle 2006-09-24 23:21:31 UTC
Please describe the problem:
I'm using the Scintilla editor.  If I choose a custom color for displaying comments, then my color is ignored: comments appear in black.  Furthermore, any text I select is displayed as an unreadable black rectangle.

Steps to reproduce:
1. View a source file in the Scintilla editor.
2. Choose Settings / Preferences.
3. On the left-hand side of the Preferences dialog, choose Scintilla Editor.
4. Press the Colors & Fonts button.
5. In the "Select highlight style to edit" box, choose Comments.
6. The "Fore color" button will appear red (assuming you have the default coloring scheme).  Click it and choose a different color.
7. Press OK and close the Preferences dialog.


Actual results:
Comments are now displayed in black.  If I select any text, the selection appears as an unreadable black rectangle.

Expected results:
Comments should be displayed in the color I chose.

Does this happen every time?
Yes.

Other information:
This worked until a few days ago, so something must have gotten broken recently.
Comment 1 Adam Dingle 2006-10-02 18:37:29 UTC
Created attachment 73879 [details] [review]
bug fix

Here's a fix, which was straightforward: we recently changed anjuta_util_string_from_color() and forgot to update a few calls to it.
Comment 2 Johannes Schmid 2006-10-02 23:08:11 UTC
Thanks for the patch!
Comment 3 Naba Kumar 2006-12-04 10:01:39 UTC
Closing all fixed bugs. Sorry for the mass update :( ...