GNOME Bugzilla – Bug 660059
no-spell-check context class is wrong in PHP but do work when PHP is colored like HTML
Last modified: 2021-07-05 11:01:29 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).
I confirm the bug with gedit 3.17. It's a problem in GtkSourceView, with the no-spell-check context class for PHP/HTML.
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.