Some more info. TeXstudio uses hunspell. Lyx also, see here:

https://wiki.lyx.org/Devel/Hunspell <https://wiki.lyx.org/Devel/Hunspell>

another possibility is the "enchant" library.

Max


> On 9. Nov 2020, at 18:16, Massimiliano Gubinelli <m.gubine...@gmail.com> 
> wrote:
> 
> Maybe a solution is to use hunspell?
> 
> https://wiki.qt.io/Spell-Checking-with-Hunspell 
> <https://wiki.qt.io/Spell-Checking-with-Hunspell>
> 
> http://hunspell.github.io <http://hunspell.github.io/>
> 
> max
> 
> 
>> On 9. Nov 2020, at 18:06, TeXmacs <texm...@lix.polytechnique.fr 
>> <mailto:texm...@lix.polytechnique.fr>> wrote:
>> 
>> Hi again Darcy,
>> 
>> I just got more info from Denis about spell checking under Windows.
>> It seems that aspell is not really an option and that the Qt solution
>> only works in certain widgets that are directly managed by Qt (please
>> check this impression).  So this only leaves us with the option to
>> provide native support for spell checking.  How difficult do you think
>> that it would be to write a small internal plug-in for that?
>> How much time would that require?  I have no idea; under MacOS,
>> Max told me that it was straightforward.  But Windows could be
>> entirely different, of course...
>> 
>> Best wishes, --Joris
>> 
>> 
>> On Mon, Nov 09, 2020 at 05:29:35PM +0100, TeXmacs wrote:
>>> Hi Darcy,
>>> 
>>> Yes, I just tested your code yesterday, and it seems to work better now.
>>> Thanks a lot.
>>> 
>>> Concerning spell checking under Windows, I just noticed that
>>> spell checking launches a segfault under Windows, which is
>>> very annoying indeed.  I mistakenly thought that we shipped
>>> aspell along with TeXmacs.  If you see an easy way to make that work,
>>> then please let us know.
>>> 
>>> Of course native spell checking support would also be very nice,
>>> like what Max did for MacOS.  I don't know how hard this would be;
>>> if it is in fact easier, then we might directly prefer this solution
>>> over aspell.
>>> 
>>> Best wishes, --Joris
>>> 
>>> 
>>> On Tue, Nov 10, 2020 at 12:04:03AM +0800, Darcy Shen via Texmacs-dev wrote:
>>>>   With the help of Joris, I have re-organized the code for configuring
>>>>   programming language parser:
>>>>   1. Github:
>>>>   
>>>> [1]https://github.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425
>>>>  
>>>> <https://github.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425>
>>>>   2. Gitee:
>>>>   
>>>> [2]https://gitee.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425
>>>>  
>>>> <https://gitee.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425>
>>>>   Sometimes Github is not available for me. That's why I'm posting another
>>>>   git mirror.
>>>>   Now the Octave language parser error has been fixed.
>>>>   Actually, the fix is exactly `Improve src/System/Language and
>>>>   TeXmacs/progs/prog` in my top 1 priority.
>>>>   Inserting keywords into auto completion candidates would be a nice
>>>>   feature, but I will postpone it as TeXmacs 2.1 is about to release.
>>>>   ---- On Sat, 2020-11-07 06:32:25 TeXmacs <texm...@lix.polytechnique.fr 
>>>> <mailto:texm...@lix.polytechnique.fr>>
>>>>   wrote ----
>>>> 
>>>>     Hi Darcy,
>>>> 
>>>>     Before anything else, could you please focus on correcting
>>>>     the remaining bugs in your latest commits? The new parser code
>>>>     generated many messages (I corrected this) and errors (cf the Octave
>>>>     error that I sent you in private, which also occurs for other
>>>>     plug-ins). Henri Girard also experiences problems with Python;
>>>>     please investigate what is going on.
>>>> 
>>>>     Further improvements of TeXmacs on Windows would be very nice,
>>>>     but this is too late for TeXmacs 2.1, so please postpone new additions.
>>>> 
>>>>     Best wishes, --Joris
>>>> 
>>>>     On Thu, Nov 05, 2020 at 09:10:08PM +0800, Darcy Shen via Texmacs-dev
>>>>     wrote:
>>>>> Top 1: Programming languages support
>>>>> + Improve src/System/Language and TeXmacs/progs/prog
>>>>> + Automatically insert keywords into auto completion candidates for
>>>>     the
>>>>> related language
>>>>> Top 2: Unit Test
>>>>> + Replace GoogleTest with [1][3]https://github.com/catchorg/Catch2 
>>>>> <https://github.com/catchorg/Catch2>
>>>>> + Make unit tests work with both autotools and cmake
>>>>> + Travis build on Github
>>>>> Top 3: Windows and Qt 5
>>>>> 1. Documentation: build/test/package GNU TeXmacs using MXE
>>>>> 2. Improve GNU TeXmacs on Windows (eg. integrate with MS Windows'
>>>>     spell
>>>>> tools)
>>>>> 
>>>>> References
>>>>> 
>>>>> Visible links
>>>>> 1. [4]https://github.com/catchorg/Catch2 
>>>>> <https://github.com/catchorg/Catch2>
>>>>> /usr/bin/xdg-open: line 402: htmlview: command not found
>>>>> /usr/bin/xdg-open: line 402: firefox: command not found
>>>>> /usr/bin/xdg-open: line 402: mozilla: command not found
>>>>> /usr/bin/xdg-open: line 402: netscape: command not found
>>>> 
>>>>> _______________________________________________
>>>>> Texmacs-dev mailing list
>>>>> [5]Texmacs-dev@gnu.org <mailto:Texmacs-dev@gnu.org>
>>>>> [6]https://lists.gnu.org/mailman/listinfo/texmacs-dev 
>>>>> <https://lists.gnu.org/mailman/listinfo/texmacs-dev>
>>>> 
>>>>     _______________________________________________
>>>>     Texmacs-dev mailing list
>>>>     [7]Texmacs-dev@gnu.org <mailto:Texmacs-dev@gnu.org>
>>>>     [8]https://lists.gnu.org/mailman/listinfo/texmacs-dev 
>>>> <https://lists.gnu.org/mailman/listinfo/texmacs-dev>
>>>> 
>>>> References
>>>> 
>>>>   Visible links
>>>>   1. 
>>>> https://github.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425
>>>>  
>>>> <https://github.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425>
>>>>   2. 
>>>> https://gitee.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425
>>>>  
>>>> <https://gitee.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425>
>>>>   3. https://github.com/catchorg/Catch2 
>>>> <https://github.com/catchorg/Catch2>
>>>>   4. https://github.com/catchorg/Catch2 
>>>> <https://github.com/catchorg/Catch2>
>>>>   5. mailto:Texmacs-dev@gnu.org <mailto:Texmacs-dev@gnu.org>
>>>>   6. https://lists.gnu.org/mailman/listinfo/texmacs-dev 
>>>> <https://lists.gnu.org/mailman/listinfo/texmacs-dev>
>>>>   7. mailto:Texmacs-dev@gnu.org <mailto:Texmacs-dev@gnu.org>
>>>>   8. https://lists.gnu.org/mailman/listinfo/texmacs-dev 
>>>> <https://lists.gnu.org/mailman/listinfo/texmacs-dev>
>>>> /usr/bin/xdg-open: line 402: htmlview: command not found
>>>> /usr/bin/xdg-open: line 402: firefox: command not found
>>>> /usr/bin/xdg-open: line 402: mozilla: command not found
>>>> /usr/bin/xdg-open: line 402: netscape: command not found
>>> 
>>>> _______________________________________________
>>>> Texmacs-dev mailing list
>>>> Texmacs-dev@gnu.org <mailto:Texmacs-dev@gnu.org>
>>>> https://lists.gnu.org/mailman/listinfo/texmacs-dev
>>> 
>>> 
>>> _______________________________________________
>>> Texmacs-dev mailing list
>>> Texmacs-dev@gnu.org <mailto:Texmacs-dev@gnu.org>
>>> https://lists.gnu.org/mailman/listinfo/texmacs-dev
>> 
>> _______________________________________________
>> Texmacs-dev mailing list
>> Texmacs-dev@gnu.org <mailto:Texmacs-dev@gnu.org>
>> https://lists.gnu.org/mailman/listinfo/texmacs-dev
> 

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to