GNOME Bugzilla – Bug 659871
API to override/customize spell check
Last modified: 2014-02-08 23:04:56 UTC
For the latex plugin it would be helpful if there was some way to tell the spell checking plugin to ignore all LaTeX syntax, things inside commands (like \label{foo-bar}), etc. The old latex spelling plugin used to do this.
you can do this by modifying the latex.lang file. Just provide a patch for it.
That will only get us halfway - what about when one redefines commands, etc?
can't you provide a regex for that? we provide a regex that matches all this stuff and we mark it to not get it highlighted
I dont think a static regex that lives in the latex.lang file is enough here; consider \newcommand{\jrefSec}[1]{Section \ref{#1}} I think it would need to be dynamic, once the language model is built to ignore \jrefSec{sec:foo-bar}
mmm, yeah you are right, although I think we should focus first in other stuff like the completion or snippets etc as this is not that bad.
*** This bug has been marked as a duplicate of bug 719978 ***