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 679614 - \label background color
\label background color
Status: RESOLVED DUPLICATE of bug 691758
Product: gedit-latex
Classification: Core
Component: General
3.4.x
Other Linux
: Normal minor
: ---
Assigned To: José Aliste
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-09 08:55 UTC by Aris Synodinos
Modified: 2019-02-22 03:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Aris Synodinos 2012-07-09 08:55:02 UTC
When I use the "\label" command, the background color changes (in all themes) to FFFFCF thus rendering the text unreadable (FFFFFF in Cobalt.xml theme)

I tried editing the cobalt.xml theme in GtkSourceView-2.0 and -3.0 but found no style utilizing the FFFFCF color code. Further googling revealed that the FFFFCF code is used in the "warning-background-color" parameter. By editing /usr/share/glib-2.0/schemas/org.gnome.gedit.plugins.latex.gschema.xml I was able to get gedit to use the standard dark blue color of cobalt, though this is just a workaround and not a solution.

This appeared to work fine until I turned on the Latex Plugin in gedit.
Now the background changes to ffffcf in \label and changes back to dark blue when I turn off the plugin.
I searched the .py files in /usr/share/gedit/plugins/latex and /usr/lib/gedit/plugins/latex and found no mention of ffffcf so it must be defined somewhere else.

I am using xubuntu 12.04, kernel 3.4.0, gedit 3.4.1, latex-plugin 3.4.0
Comment 1 Carnë Draug 2013-03-07 11:38:39 UTC
Hi Aris

thank you for your bug report. I'm marking this as a duplicate of bug #691758 which has already been fixed.

The \label command should not be specially highlighted. The reason why is being highlighted as warning is not because of the \label command, it's a warning that the label is currently unused.

Next version of the latex plugin will not highlight unused labels as warnings.

Carnë

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