GNUAspell / aspell

http://aspell.net
GNU Lesser General Public License v2.1
236 stars 50 forks source link

Improved tex mode #644

Open kevina opened 2 months ago

kevina commented 2 months ago

Continuation of #625.

Todo:

kevina commented 2 months ago

@matthias314 I went ahead and addressed the two comments from #625. Can you please test this new code?

matthias314 commented 2 months ago

The new mode seems to work fine. However, I have the impression that the old mode has changed: For a file with content

$xy$

aspell used to complain about the "xy". The tex_v1 mode now accepts it, as does the new tex mode. Could it be that the old mode uses part of the new code?

A minor observation: If the list of modes produced by aspell modes can be sorted, then it might be a good idea to put the new TeX mode first.

kevina commented 2 months ago

However, I have the impression that the old mode has changed

This should be fixed now, the tex_v1 mode was using the tex filter by mistake.

If the list of modes produced by aspell modes can be sorted

At the moment is is not sorted and the order is non-deterministic.

matthias314 commented 2 months ago

This should be fixed now

Yes, now aspell behaves as before.