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 660059 - no-spell-check context class is wrong in PHP but do work when PHP is colored like HTML
no-spell-check context class is wrong in PHP but do work when PHP is colored ...
Status: RESOLVED OBSOLETE
Product: gtksourceview
Classification: Platform
Component: Syntax files
3.17.x
Other Linux
: Normal minor
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-25 14:46 UTC by le hollandais volant
Modified: 2021-07-05 11:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description le hollandais volant 2011-09-25 14:46:19 UTC
hi, I use to have my HTML code in *.php files.
Tu syntaxe highlighting turns on "php"

Now, in PHP syntax-highlighting, only the words between html attributs (style, href, etc.) are checked. Not the text between html tags.

example :

<tag class="i am a linux userr">I an a linux userr</tag>

Will only show 1 error : the one in the "class" attribut.

The same example, with the HTML highlighting works fine : the 2 spelling mistakes are found.

Gedit : v. 2.30.4 (but there was allready the same bug in previous versions)
Gnome : v. 2.32.1

Linux : 2.6.x
On Linux Mint 11 (based upon Ubuntu Natty).
Comment 1 Sébastien Wilmet 2015-07-20 12:58:18 UTC
I confirm the bug with gedit 3.17.
It's a problem in GtkSourceView, with the no-spell-check context class for PHP/HTML.
Comment 2 GNOME Infrastructure Team 2021-07-05 11:01:29 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/

Thank you for your understanding and your help.