On 09/27/2010 08:34 AM, Stephan Witt wrote:
Anfang der weitergeleiteten E-Mail:

Von: "LyX Ticket Tracker"<[email protected]>
Datum: 26. September 2010 22:43:25 MESZ
An: [email protected], [email protected]
Betreff: Re: #6917: spell checker hangs on single quote characters
Antwort an: [email protected]

#6917: spell checker hangs on single quote characters

Comment:

It's coded this way.

A single quote character does not act as word separator. This code is only
in 2.0.0. I don't know the reason for that.

I think aspell does not like that.
Hi Abdel,

svn blame points to you as the one who added the method 
Paragraph::isWordSeparator()
with the logic to rate the quote character as non-word-separator.

Please, can you remember what the reasoning here was...
Did you do this for hunspell? Did you test it with aspell?

Hi Stefan,

If you still need my answer (haven't read the thread yet), no, I don't remember the reasoning sorry. But I guess I just refactored the old code, I didn't change the logic; or at least I tried to. AFAIK, this was done for Aspell at the first place. Hunspell support came much later.

The problem is, that if one uses single quotes for quotation this logic fails.
Maybe, we can say: dear user, don't do this. But I'm not sure.

Is this any different than in 1.6?

Abdel.

Reply via email to