Le 27/09/2010 08:34, Stephan Witt a écrit :
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?
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.
I think Abdel only moved code that was already there. Having single
quotes as non-separator has some merits for words like "don't" or
"aujourd'hui".
The problem here is with apostroph used as a single quote. In ticket 559
http://www.lyx.org/trac/ticket/659
it was considered that this is wrong and should not be supported.
Another approach would be to ignore quotes at the beginning or end of a
word. It is probably not difficult to do.
JMarc