I just notices something odd.
When in LaTeX mode, mis-spelling are not getting highlighted. If I
right-click on a work, I do get suggested spellings, but there is no
underlining of them.
If I switch to text mode, mis-spellings are highlighted.
A sample file is enclosed for your viewing pleasure.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
It only spellchecks character classes that are marked as either
strings or comments, not code. There must be some missing mappings in
LaTeX mode somewhere... I'll have to look.
Rob
Thanks, that would be great, as I have no idea quite what that means.
I expect the trick with LaTeX is that is is mostly text, and only a
little bit of code.
Some spell checkers have a "TeX" mode, that will ignore TeX code. I
don't know if that can be accessed through pyenchant or not.
But a solution that falsely flags all the code as mispellings would be
fine, too. It's not hard to distinguis as a user.
On Thu, Apr 7, 2011 at 9:41 AM, Christopher Barker
<Chris....@noaa.gov> wrote:
> Some spell checkers have a "TeX" mode, that will ignore TeX code. I don't
> know if that can be accessed through pyenchant or not.
Got a bit of time during my son's naptime. Try the latest svn. The
StyledTextCtrl doesn't seem to distinguish quite enough bits of the
TeX code so there are some things that are spell checked that
shouldn't be, but at least the stuff you want is now spell checked. :)
Rob
I just got back from vacation and gave it a try: very nice, Thanks!